kewl's gallery

[1] 
SELECT @@SESSION.sql_mode
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.002 s)
(num rows        : 1 )
[2] 

SELECT param, value
 FROM g_config
 
;
(this query time : 0.000 s)
(total SQL time  : 0.000 s)
(total time      : 0.002 s)
(num rows        : 92 )
[3] 

SELECT data
  FROM g_sessions
  WHERE id = '36C68tvt2dlqgemhfm9u8lptmeupb7'
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.003 s)
(num rows        : 0 )
[4] 

SELECT * FROM g_plugins
  WHERE state='active'
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.003 s)
(num rows        : 15 )
[5] 

SELECT id AS id
     , username AS username
     , password AS password
     , mail_address AS email
  FROM g_users
  WHERE id = '2'
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.005 s)
(num rows        : 1 )
[6] 

SELECT
    ui.*,
    uc.*,
    t.name AS theme_name
  FROM g_user_infos AS ui
    LEFT JOIN g_user_cache AS uc ON ui.user_id = uc.user_id
    LEFT JOIN g_themes AS t ON t.id = ui.theme
  WHERE ui.user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.005 s)
(num rows        : 1 )
[7] 

SELECT id, name
  FROM g_languages
  ORDER BY name ASC
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.005 s)
(num rows        : 69 )
[8] 

SELECT *
  FROM g_user_infos
  WHERE user_id = 2
;
(this query time : 0.000 s)
(total SQL time  : 0.001 s)
(total time      : 0.006 s)
(num rows        : 1 )
[9] 

SELECT *
  FROM g_tags
  WHERE id IN (868)
(this query time : 0.000 s)
(total SQL time  : 0.002 s)
(total time      : 0.007 s)
(num rows        : 1 )
[9] 

SELECT id
  FROM g_images i 
    INNER JOIN g_image_category ic ON id=ic.image_id
    INNER JOIN g_image_tag it ON id=it.image_id
    WHERE tag_id IN (868)
  AND (category_id NOT IN (188,201,198,200,182,212) AND level<=0)
  GROUP BY id
ORDER BY date_creation DESC, file ASC, id ASC
(this query time : 0.008 s)
(total SQL time  : 0.009 s)
(total time      : 0.015 s)
(num rows        : 1515 )
[10] 

SELECT 
  id, name, permalink, nb_images, global_rank,
  date_last, max_date_last, count_images, count_categories
FROM g_categories INNER JOIN g_user_cache_categories
  ON id = cat_id and user_id = 2
WHERE 
  1 = 1
;
(this query time : 0.000 s)
(total SQL time  : 0.009 s)
(total time      : 0.016 s)
(num rows        : 102 )
[11] 

SELECT SUBDATE(CURRENT_DATE,INTERVAL 30 DAY)
(this query time : 0.000 s)
(total SQL time  : 0.010 s)
(total time      : 0.016 s)
(num rows        : 1 )
[12] 

SELECT t.*, count(*) AS counter
  FROM g_image_tag
    INNER JOIN g_tags t ON tag_id = id
  WHERE image_id IN (6069,6068,6066,6067,6064,6065,6063,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6170,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6120,6118,6117,6116,6105,6106,6104,6098,6099,6097,6096,6095,6094,6092,6093,6091,6090,6089,6087,6088,6086,6085,6084,6083,6081,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5941,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5925,5926,5927,5940,5938,5922,5923,5924,5939,5917,5918,5919,5920,5921,5916,5914,5915,5847,5848,5849,5850,5851,5852,5853,5854,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5841,5842,5843,5844,5845,5846,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5811,5812,5813,5809,5810,5816,5814,5815,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5379,5380,5378,5386,5387,5385,5383,5384,5381,5382,5390,5391,5388,5389,5396,5397,5394,5395,5392,5393,5406,5404,5405,5402,5403,5400,5401,5398,5399,5411,5412,5410,5409,5408,5407,5416,5413,5414,5431,5430,5424,5429,5428,5427,5426,5425,5439,5438,5437,5436,5435,5433,5434,5432,5444,5441,5442,5451,5452,5449,5450,5448,5447,5446,5445,5443,5474,5473,5471,5469,5454,5453,5467,5468,5466,5465,5472,5470,5457,5456,5455,5458,5460,5459,5462,5697,5696,5694,5693,5692,5691,5690,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5669,5666,5667,5668,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5570,5567,5568,5565,5566,5563,5561,5562,5569,5461,5564,5571,5559,5560,5558,5555,5554,5556,5557,5324,5325,5552,5553,5551,5463,5464,5550,5549,5547,5546,5545,5544,5548,5543,5541,5542,5540,5538,5537,5329,5498,5496,5510,5493,5491,5529,5527,5523,5508,5509,5507,5506,5505,5504,5503,5502,5501,5500,5499,5497,5495,5494,5492,5536,5535,5533,5534,5532,5531,5530,5528,5526,5525,5524,5522,5521,5520,5519,5518,5517,5516,5515,5514,5512,5513,5511,5489,5487,5490,5298,5294,5292,5291,5288,5300,5301,5296,5297,5295,5293,5290,5289,5286,5287,5285,5284,5282,5283,5278,5275,5276,5274,5273,5271,5272,5269,5270,5267,5268,5266,5265,5263,5264,5281,5280,5279,5078,5136,5137,5134,5135,5132,5133,5130,5131,5129,5125,5079,5122,5123,5121,5120,5118,5119,5117,5116,5115,5138,5113,5114,5111,5112,5109,5110,5107,5108,5105,5106,5103,5104,5102,5101,5100,5099,5098,5097,5096,5094,5095,5092,5093,5090,5091,5088,5089,5086,5087,5072,5083,5084,5081,5082,5073,5070,5071,5068,5069,5066,5067,5064,5065,5063,5062,5060,5059,5076,5077,5074,5075,4979,4980,4978,5481,5482,5479,5480,5477,5483,5478,5476,5475,4937,4938,4936,4935,4933,4934,4932,4931,5085,5034,4943,4944,4941,4942,4939,4940,4957,4951,4952,4950,4949,4947,4945,4946,4976,4977,4975,4974,4973,4972,4971,4970,5035,5056,5057,5054,5055,5053,5036,4968,4969,4967,4966,4965,4964,4962,4963,4960,4961,4959,5051,5052,5050,5049,5047,5048,5045,5046,5039,5040,5037,5038,4981,4982,5041,5044,5042,4987,4988,4986,4985,4983,4984,5043,5145,5143,5144,5151,5152,5149,5150,5147,5148,5146,5160,5161,5159,5153,5157,5158,5155,5156,5154,5162,5163,5176,5177,5174,5175,5172,5173,5170,5171,5168,5169,5166,5167,5164,5165,5178,5180,5181,5179,5182,5191,5192,5189,5190,5187,5188,5185,5186,5183,5184,5198,5197,5193,5196,5195,5194,5216,5217,5214,5215,5212,5213,5210,5208,5206,5207,5205,5202,5201,5199,5225,5226,5223,5224,5221,5222,5219,5220,5218,5230,5231,5229,4927,4928,4925,4926,4923,4924,4922,4921,4919,4920,4918,4917,4916,4915,4914,4913,4912,4911,4910,4909,4908,4907,4906,4905,4904,4903,4902,4901,4900,4899,4898,4897,5235,5234,5232,5233,5244,5243,5242,5241,5240,5239,5238,5237,5245,5246,5247,5249,5248,5250,5252,5253,5251,5258,5257,5255,5256,5254,5260,5259,5322,5323,5320,5317,5315,5314,5313,5312,5311,5310,5306,5302,5303,5227,5228,5354,5353,5351,5352,5350,5349,5347,5348,5346,5344,5345,5343,5342,5341,5339,5340,5338,5355,5331,5356,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,5362,5363,5360,5361,5359,5358,5357,5370,5369,5368,5367,5364,5375,5372,5373,5374,5371,5376,5377,4832,4828,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5332,5334,5335,5333,5715,5716,5717,5718,5877,5878,5879,5880,5881,5882,5883,5884,4829,4831,5857,5858,4789,4788,4787,4786,4785,4784,4783,4782,4804,4805,4802,4803,4801,4800,4799,4798,4797,4796,4794,4795,4792,4793,4791,4774,4776,4777,4775,4780,4779,4781,5698,4749,4747,4748,4745,4746,4743,4744,4742,4815,4738,4739,4750,4737,4741,4735,5330,4769,4768,4767,4765,4766,4760,4763,4764,4762,4761,4758,4759,4756,4757,4754,4755,4752,4753,4751,4813,4814,4811,4812,4806,4823,4818,4817,4816,4807,4579,4585,4583,4582,4581,4580,4599,4600,4597,4598,4595,4596,4593,4594,4591,4592,4589,4590,4587,4588,4586,4602,4603,4604,4773,5326,4820,4577,4575,5029,5030,5027,5028,5025,5026,4616,4617,4614,4615,4613,4622,4623,4612,4610,4611,4609,4608,4606,4620,4621,4607,4605,4618,4619,4576,5033,5032,5031,5013,5014,5011,5009,5010,5015,5016,5019,4770,5018,4772,5023,5024,5021,5022,5008,5004,4572,4570,4571,5005,4569,4996,4997,4998,5002,4999,5000,5007,5003,5001,4989,4993,4991,4994,4995,4565,4566,4564,4563,4562,4560,4561,4548,4547,4822,4544,4546,4545,4824,4539,4538,4537,4536,4535,4534,4542,4543,4541,4540,4531,4533,4532,4809,4810,4528,4529,4530,4489,4490,4488,4487,4486,4485,4484,4483,4482,4481,4479,4480,4477,4478,4475,4476,4474,4473,4472,4471,4470,4469,4468,4467,4465,4466,4400,4401,4398,4399,4396,4397,4445,4423,4422,4421,4420,4419,4418,4417,4416,4415,4414,4413,4412,4444,4411,4410,4409,4408,4407,4406,4405,4404,4403,4402,4456,4457,4454,4455,4452,4453,4451,4450,4449,4448,4447,4446,4463,4464,4461,4462,4460,4459,4327,4326,4325,4324,4323,4322,4321,4320,4319,4318,4317,4316,4315,4314,4313,4312,4311,4310,4353,4352,4351,4350,4349,4348,4347,4346,4345,4344,4343,4342,4341,4340,4339,4338,4337,4336,4335,4334,4333,4332,4331,4330,4329,4328,4368,4367,4366,4365,4364,4363,4362,4361,4360,4359,4358,4357,4356,4377,4376,4375,4374,4373,4372,4371,4370,4369,4522,4523,4520,4521,4519,4518,4516,4517,4515,4514,4512,4513,4510,4511,4509,4508,4506,4507,4505,4308,4307,4527,4306,4305,4304,4303,4302,4301,4300,4299,4298,4289,4526,4524,4354,4286,4355,4292,4295,4296,4297,4293,4819,4287,4288,4272,4271,4270,4269,4268,4267,4266,4265,4264,4263,4262,4261,4260,4278,4277,4276,4275,4274,4273,4280,4279,4281,4284,4285,4282,4283,4558,4554,4552,4551,4553,4259,4258,4550,4257,4254,4255,4253,4256,4549,4252,4247,4246,4180,4250,4248,4249,4135,4136,4138,4137,4140,4139,4121,4126,4226,4122,4117,4123,4125,4124,4118,4119,4113,4114,4112,4111,4110,4099,4098,4108,4109,4107,4093,4097,4101,4555,4034,4035,4033,4030,4032,4106,4031,4821,4556,4036,4041,4042,4049,4045,4050,4051,4039,4040,4038,4029,4025,4027,4105,4022,4023,4020,4021,4018,4019,4017,4016,4015,4014,4013,4012,4011,4010,4009,4008,4007,4024,4006,4557,3922,3921,3919,3920,3917,3918,3916,3915,3914,3913,3912,3911)
    AND tag_id NOT IN (868)
  GROUP BY t.id
  ORDER BY counter DESC
  LIMIT 20
(this query time : 0.054 s)
(total SQL time  : 0.064 s)
(total time      : 0.074 s)
(num rows        : 20 )
[13] 

SELECT *
  FROM g_images
  WHERE id IN (6069,6068,6066,6067,6064,6065,6063,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6170,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6120,6118,6117,6116,6105,6106,6104,6098,6099,6097,6096,6095,6094,6092,6093,6091,6090,6089,6087,6088,6086,6085,6084,6083,6081,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5941,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5925,5926,5927,5940,5938,5922,5923,5924,5939,5917,5918,5919,5920,5921,5916,5914,5915,5847,5848,5849,5850,5851,5852,5853,5854,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5841,5842,5843,5844,5845,5846,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5811,5812,5813,5809,5810,5816,5814,5815,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5379,5380,5378,5386,5387,5385,5383,5384,5381,5382,5390,5391,5388,5389,5396,5397,5394,5395,5392,5393,5406,5404,5405,5402,5403,5400,5401,5398,5399,5411,5412,5410,5409,5408,5407,5416,5413,5414,5431,5430,5424,5429,5428,5427,5426,5425,5439,5438,5437,5436,5435,5433,5434,5432,5444,5441,5442,5451,5452,5449,5450,5448,5447,5446,5445,5443,5474,5473,5471,5469,5454,5453,5467,5468,5466,5465,5472,5470,5457,5456,5455,5458,5460,5459,5462,5697)
;
(this query time : 0.002 s)
(total SQL time  : 0.067 s)
(total time      : 0.078 s)
(num rows        : 400 )

[0.113 s, 13 queries] : end include/category_default.inc.php

[14] 

SELECT id FROM g_images
WHERE latitude IS NOT NULL
  AND id IN (6069,6068,6066,6067,6064,6065,6063,6061,6055,6056,6053,6054,6059,6060,6057,6058,6032,6045,6044,6043,6042,6041,6039,6037,6038,6036,6035,6034,6033,6047,6046,6048,6049,6050,6051,6052,6170,6169,6113,6112,6111,6110,6109,6107,6108,6115,6121,6122,6114,6119,6120,6118,6117,6116,6105,6106,6104,6098,6099,6097,6096,6095,6094,6092,6093,6091,6090,6089,6087,6088,6086,6085,6084,6083,6081,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,6025,6026,6027,6028,6029,6030,6031,6020,6021,6022,6024,6018,6019,6012,6013,6014,6015,6016,6017,6010,6011,6006,6007,6008,6009,6000,6001,6002,6003,6004,6005,5998,5999,5990,5991,5992,5993,5994,5995,5996,5997,5988,5989,5983,5984,5985,5986,5987,5941,5935,5936,5937,5930,5931,5932,5933,5934,5928,5929,5925,5926,5927,5940,5938,5922,5923,5924,5939,5917,5918,5919,5920,5921,5916,5914,5915,5847,5848,5849,5850,5851,5852,5853,5854,5837,5838,5839,5840,5830,5831,5832,5833,5834,5835,5836,5841,5842,5843,5844,5845,5846,5736,5737,5738,5739,5740,5741,5742,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5756,5757,5758,5759,5760,5761,5762,5763,5764,5765,5766,5767,5768,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5811,5812,5813,5809,5810,5816,5814,5815,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5379,5380,5378,5386,5387,5385,5383,5384,5381,5382,5390,5391,5388,5389,5396,5397,5394,5395,5392,5393,5406,5404,5405,5402,5403,5400,5401,5398,5399,5411,5412,5410,5409,5408,5407,5416,5413,5414,5431,5430,5424,5429,5428,5427,5426,5425,5439,5438,5437,5436,5435,5433,5434,5432,5444,5441,5442,5451,5452,5449,5450,5448,5447,5446,5445,5443,5474,5473,5471,5469,5454,5453,5467,5468,5466,5465,5472,5470,5457,5456,5455,5458,5460,5459,5462,5697,5696,5694,5693,5692,5691,5690,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5669,5666,5667,5668,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5570,5567,5568,5565,5566,5563,5561,5562,5569,5461,5564,5571,5559,5560,5558,5555,5554,5556,5557,5324,5325,5552,5553,5551,5463,5464,5550,5549,5547,5546,5545,5544,5548,5543,5541,5542,5540,5538,5537,5329,5498,5496,5510,5493,5491,5529,5527,5523,5508,5509,5507,5506,5505,5504,5503,5502,5501,5500,5499,5497,5495,5494,5492,5536,5535,5533,5534,5532,5531,5530,5528,5526,5525,5524,5522,5521,5520,5519,5518,5517,5516,5515,5514,5512,5513,5511,5489,5487,5490,5298,5294,5292,5291,5288,5300,5301,5296,5297,5295,5293,5290,5289,5286,5287,5285,5284,5282,5283,5278,5275,5276,5274,5273,5271,5272,5269,5270,5267,5268,5266,5265,5263,5264,5281,5280,5279,5078,5136,5137,5134,5135,5132,5133,5130,5131,5129,5125,5079,5122,5123,5121,5120,5118,5119,5117,5116,5115,5138,5113,5114,5111,5112,5109,5110,5107,5108,5105,5106,5103,5104,5102,5101,5100,5099,5098,5097,5096,5094,5095,5092,5093,5090,5091,5088,5089,5086,5087,5072,5083,5084,5081,5082,5073,5070,5071,5068,5069,5066,5067,5064,5065,5063,5062,5060,5059,5076,5077,5074,5075,4979,4980,4978,5481,5482,5479,5480,5477,5483,5478,5476,5475,4937,4938,4936,4935,4933,4934,4932,4931,5085,5034,4943,4944,4941,4942,4939,4940,4957,4951,4952,4950,4949,4947,4945,4946,4976,4977,4975,4974,4973,4972,4971,4970,5035,5056,5057,5054,5055,5053,5036,4968,4969,4967,4966,4965,4964,4962,4963,4960,4961,4959,5051,5052,5050,5049,5047,5048,5045,5046,5039,5040,5037,5038,4981,4982,5041,5044,5042,4987,4988,4986,4985,4983,4984,5043,5145,5143,5144,5151,5152,5149,5150,5147,5148,5146,5160,5161,5159,5153,5157,5158,5155,5156,5154,5162,5163,5176,5177,5174,5175,5172,5173,5170,5171,5168,5169,5166,5167,5164,5165,5178,5180,5181,5179,5182,5191,5192,5189,5190,5187,5188,5185,5186,5183,5184,5198,5197,5193,5196,5195,5194,5216,5217,5214,5215,5212,5213,5210,5208,5206,5207,5205,5202,5201,5199,5225,5226,5223,5224,5221,5222,5219,5220,5218,5230,5231,5229,4927,4928,4925,4926,4923,4924,4922,4921,4919,4920,4918,4917,4916,4915,4914,4913,4912,4911,4910,4909,4908,4907,4906,4905,4904,4903,4902,4901,4900,4899,4898,4897,5235,5234,5232,5233,5244,5243,5242,5241,5240,5239,5238,5237,5245,5246,5247,5249,5248,5250,5252,5253,5251,5258,5257,5255,5256,5254,5260,5259,5322,5323,5320,5317,5315,5314,5313,5312,5311,5310,5306,5302,5303,5227,5228,5354,5353,5351,5352,5350,5349,5347,5348,5346,5344,5345,5343,5342,5341,5339,5340,5338,5355,5331,5356,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,5362,5363,5360,5361,5359,5358,5357,5370,5369,5368,5367,5364,5375,5372,5373,5374,5371,5376,5377,4832,4828,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5332,5334,5335,5333,5715,5716,5717,5718,5877,5878,5879,5880,5881,5882,5883,5884,4829,4831,5857,5858,4789,4788,4787,4786,4785,4784,4783,4782,4804,4805,4802,4803,4801,4800,4799,4798,4797,4796,4794,4795,4792,4793,4791,4774,4776,4777,4775,4780,4779,4781,5698,4749,4747,4748,4745,4746,4743,4744,4742,4815,4738,4739,4750,4737,4741,4735,5330,4769,4768,4767,4765,4766,4760,4763,4764,4762,4761,4758,4759,4756,4757,4754,4755,4752,4753,4751,4813,4814,4811,4812,4806,4823,4818,4817,4816,4807,4579,4585,4583,4582,4581,4580,4599,4600,4597,4598,4595,4596,4593,4594,4591,4592,4589,4590,4587,4588,4586,4602,4603,4604,4773,5326,4820,4577,4575,5029,5030,5027,5028,5025,5026,4616,4617,4614,4615,4613,4622,4623,4612,4610,4611,4609,4608,4606,4620,4621,4607,4605,4618,4619,4576,5033,5032,5031,5013,5014,5011,5009,5010,5015,5016,5019,4770,5018,4772,5023,5024,5021,5022,5008,5004,4572,4570,4571,5005,4569,4996,4997,4998,5002,4999,5000,5007,5003,5001,4989,4993,4991,4994,4995,4565,4566,4564,4563,4562,4560,4561,4548,4547,4822,4544,4546,4545,4824,4539,4538,4537,4536,4535,4534,4542,4543,4541,4540,4531,4533,4532,4809,4810,4528,4529,4530,4489,4490,4488,4487,4486,4485,4484,4483,4482,4481,4479,4480,4477,4478,4475,4476,4474,4473,4472,4471,4470,4469,4468,4467,4465,4466,4400,4401,4398,4399,4396,4397,4445,4423,4422,4421,4420,4419,4418,4417,4416,4415,4414,4413,4412,4444,4411,4410,4409,4408,4407,4406,4405,4404,4403,4402,4456,4457,4454,4455,4452,4453,4451,4450,4449,4448,4447,4446,4463,4464,4461,4462,4460,4459,4327,4326,4325,4324,4323,4322,4321,4320,4319,4318,4317,4316,4315,4314,4313,4312,4311,4310,4353,4352,4351,4350,4349,4348,4347,4346,4345,4344,4343,4342,4341,4340,4339,4338,4337,4336,4335,4334,4333,4332,4331,4330,4329,4328,4368,4367,4366,4365,4364,4363,4362,4361,4360,4359,4358,4357,4356,4377,4376,4375,4374,4373,4372,4371,4370,4369,4522,4523,4520,4521,4519,4518,4516,4517,4515,4514,4512,4513,4510,4511,4509,4508,4506,4507,4505,4308,4307,4527,4306,4305,4304,4303,4302,4301,4300,4299,4298,4289,4526,4524,4354,4286,4355,4292,4295,4296,4297,4293,4819,4287,4288,4272,4271,4270,4269,4268,4267,4266,4265,4264,4263,4262,4261,4260,4278,4277,4276,4275,4274,4273,4280,4279,4281,4284,4285,4282,4283,4558,4554,4552,4551,4553,4259,4258,4550,4257,4254,4255,4253,4256,4549,4252,4247,4246,4180,4250,4248,4249,4135,4136,4138,4137,4140,4139,4121,4126,4226,4122,4117,4123,4125,4124,4118,4119,4113,4114,4112,4111,4110,4099,4098,4108,4109,4107,4093,4097,4101,4555,4034,4035,4033,4030,4032,4106,4031,4821,4556,4036,4041,4042,4049,4045,4050,4051,4039,4040,4038,4029,4025,4027,4105,4022,4023,4020,4021,4018,4019,4017,4016,4015,4014,4013,4012,4011,4010,4009,4008,4007,4024,4006,4557,3922,3921,3919,3920,3917,3918,3916,3915,3914,3913,3912,3911)
ORDER BY NULL
LIMIT 0,1
(this query time : 0.002 s)
(total SQL time  : 0.069 s)
(total time      : 0.116 s)
(num rows        : 1 )
[15] 

INSERT INTO g_history
  (
    date,
    time,
    user_id,
    IP,
    section,
    category_id,
    image_id,
    image_type,
    format_id,
    auth_key_id,
    tag_ids
  )
  VALUES
  (
    CURRENT_DATE,
    CURRENT_TIME,
    2,
    '54.198.103.13',
    'tags',
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    '868'
  )
;
(this query time : 0.000 s)
(total SQL time  : 0.069 s)
(total time      : 0.121 s)
(affected rows   : 1 )