| 1 | DESCRIBE `aros` | | 7 | 7 | 10 |
| 2 | DESCRIBE `acos` | | 7 | 7 | 7 |
| 3 | DESCRIBE `aros_acos` | | 7 | 7 | 7 |
| 4 | DESCRIBE `news` | | 14 | 14 | 8 |
| 5 | DESCRIBE `tags` | | 2 | 2 | 10 |
| 6 | DESCRIBE `users` | | 8 | 8 | 7 |
| 7 | DESCRIBE `groups` | | 5 | 5 | 7 |
| 8 | DESCRIBE `profiles` | | 30 | 30 | 7 |
| 9 | DESCRIBE `uploads` | | 10 | 10 | 8 |
| 10 | DESCRIBE `page_contents` | | 7 | 7 | 7 |
| 11 | DESCRIBE `sites` | | 16 | 16 | 8 |
| 12 | DESCRIBE `i18n` | | 6 | 6 | 7 |
| 13 | DESCRIBE `messages` | | 9 | 9 | 10 |
| 14 | DESCRIBE `users_users` | | 5 | 5 | 7 |
| 15 | DESCRIBE `most_wanted` | | 6 | 6 | 7 |
| 16 | DESCRIBE `youtubes` | | 5 | 5 | 7 |
| 17 | SELECT `News`.*, `Tag`.*, `User`.*, `I18n__title`.`content`, `I18n__content`.`content`, `I18n__short`.`content`, `News`.`id` FROM `news` AS `News` LEFT JOIN `i18n` AS `I18n__title` ON (`News`.`id` = `I18n__title`.`foreign_key` AND `I18n__title`.`model` = 'News' AND `I18n__title`.`field` = 'title') LEFT JOIN `i18n` AS `I18n__content` ON (`News`.`id` = `I18n__content`.`foreign_key` AND `I18n__content`.`model` = 'News' AND `I18n__content`.`field` = 'content') LEFT JOIN `i18n` AS `I18n__short` ON (`News`.`id` = `I18n__short`.`foreign_key` AND `I18n__short`.`model` = 'News' AND `I18n__short`.`field` = 'short') LEFT JOIN `tags` AS `Tag` ON (`News`.`tag` = `Tag`.`id`) LEFT JOIN `users` AS `User` ON (`News`.`user_id` = `User`.`id`) WHERE `News`.`complete` = 1 AND `I18n__title`.`locale` = 'pol' AND `I18n__content`.`locale` = 'pol' AND `I18n__short`.`locale` = 'pol' ORDER BY `News`.`created` DESC | | 14 | 14 | 0 |
| 18 | SELECT `Tag`.`id`, `Tag`.`content` FROM `tags` AS `Tag` WHERE `Tag`.`id` = 2 | | 1 | 1 | 0 |
| 19 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`tag` = (2) | | 5 | 5 | 0 |
| 20 | SELECT `Tag`.`id`, `Tag`.`content` FROM `tags` AS `Tag` WHERE `Tag`.`id` = 1 | | 1 | 1 | 0 |
| 21 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`tag` = (1) | | 11 | 11 | 0 |
| 22 | SELECT `User`.`id`, `User`.`group_id`, `User`.`username`, `User`.`password`, `User`.`name`, `User`.`surname`, `User`.`created`, `User`.`modified` FROM `users` AS `User` WHERE `User`.`id` = 1 | | 1 | 1 | 5 |
| 23 | SELECT `Group`.`id`, `Group`.`parent_id`, `Group`.`title`, `Group`.`created`, `Group`.`modified` FROM `groups` AS `Group` WHERE `Group`.`id` = 1 | | 1 | 1 | 0 |
| 24 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`user_id` = 1 | | 1 | 1 | 0 |
| 25 | SELECT `MessageSent`.`id`, `MessageSent`.`from_id`, `MessageSent`.`to_id`, `MessageSent`.`subject`, `MessageSent`.`content`, `MessageSent`.`readed`, `MessageSent`.`bin`, `MessageSent`.`created`, `MessageSent`.`modified` FROM `messages` AS `MessageSent` WHERE `MessageSent`.`from_id` = (1) | | 0 | 0 | 0 |
| 26 | SELECT `MessageReceived`.`id`, `MessageReceived`.`from_id`, `MessageReceived`.`to_id`, `MessageReceived`.`subject`, `MessageReceived`.`content`, `MessageReceived`.`readed`, `MessageReceived`.`bin`, `MessageReceived`.`created`, `MessageReceived`.`modified` FROM `messages` AS `MessageReceived` WHERE `MessageReceived`.`to_id` = (1) | | 0 | 0 | 0 |
| 27 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`user_id` = (1) | | 21 | 21 | 0 |
| 28 | SELECT `Friend`.`id`, `Friend`.`group_id`, `Friend`.`username`, `Friend`.`password`, `Friend`.`name`, `Friend`.`surname`, `Friend`.`created`, `Friend`.`modified`, `UsersUser`.`id`, `UsersUser`.`user_id`, `UsersUser`.`friend_id`, `UsersUser`.`created`, `UsersUser`.`modified` FROM `users` AS `Friend` JOIN `users_users` AS `UsersUser` ON (`UsersUser`.`user_id` = 1 AND `UsersUser`.`friend_id` = `Friend`.`id`) | | 0 | 0 | 0 |
| 29 | SELECT `Upload`.`id`, `Upload`.`model`, `Upload`.`foreign_key`, `Upload`.`position`, `Upload`.`name`, `Upload`.`type`, `Upload`.`size`, `Upload`.`description`, `Upload`.`created`, `Upload`.`modified` FROM `uploads` AS `Upload` WHERE `Upload`.`foreign_key` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) ORDER BY `Upload`.`position` ASC | | 60 | 60 | 0 |
| 30 | SELECT `PageContent`.`id`, `PageContent`.`site_id`, `PageContent`.`content`, `PageContent`.`header`, `PageContent`.`counter`, `PageContent`.`created`, `PageContent`.`modified` FROM `page_contents` AS `PageContent` WHERE `PageContent`.`id` = 6 | | 1 | 1 | 0 |
| 31 | SELECT `PageContent`.`id`, `PageContent`.`site_id`, `PageContent`.`content`, `PageContent`.`header`, `PageContent`.`counter`, `PageContent`.`created`, `PageContent`.`modified` FROM `page_contents` AS `PageContent` WHERE `PageContent`.`id` = 10 | | 1 | 1 | 0 |
| 32 | SELECT `PageContent`.`id`, `PageContent`.`site_id`, `PageContent`.`content`, `PageContent`.`header`, `PageContent`.`counter`, `PageContent`.`created`, `PageContent`.`modified` FROM `page_contents` AS `PageContent` WHERE `PageContent`.`id` = 15 | | 1 | 1 | 0 |
| 33 | SELECT `PageContent`.`id`, `PageContent`.`site_id`, `PageContent`.`content`, `PageContent`.`header`, `PageContent`.`counter`, `PageContent`.`created`, `PageContent`.`modified` FROM `page_contents` AS `PageContent` WHERE `PageContent`.`id` = 9 | | 1 | 1 | 0 |
| 34 | SELECT `PageContent`.`id`, `PageContent`.`site_id`, `PageContent`.`content`, `PageContent`.`header`, `PageContent`.`counter`, `PageContent`.`created`, `PageContent`.`modified` FROM `page_contents` AS `PageContent` WHERE `PageContent`.`id` = 27 | | 1 | 1 | 0 |
| 35 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 6 | | 1 | 1 | 0 |
| 36 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 10 | | 1 | 1 | 0 |
| 37 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 15 | | 1 | 1 | 0 |
| 38 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 9 | | 1 | 1 | 0 |
| 39 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 27 | | 1 | 1 | 0 |
| 40 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`id` = 6 | | 0 | 0 | 0 |
| 41 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`id` = 10 | | 0 | 0 | 0 |
| 42 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`id` = 15 | | 0 | 0 | 0 |
| 43 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`id` = 9 | | 0 | 0 | 0 |
| 44 | SELECT `Profile`.`id`, `Profile`.`user_id`, `Profile`.`name`, `Profile`.`link`, `Profile`.`title`, `Profile`.`description`, `Profile`.`mini_site`, `Profile`.`NIP`, `Profile`.`REGON`, `Profile`.`KRS`, `Profile`.`activity`, `Profile`.`type`, `Profile`.`PKD`, `Profile`.`size`, `Profile`.`street`, `Profile`.`nr`, `Profile`.`place`, `Profile`.`city`, `Profile`.`area`, `Profile`.`post_code`, `Profile`.`woj`, `Profile`.`pow`, `Profile`.`phone`, `Profile`.`fax`, `Profile`.`email`, `Profile`.`site`, `Profile`.`oswiadczam`, `Profile`.`dzialalnosc`, `Profile`.`created`, `Profile`.`modified` FROM `profiles` AS `Profile` WHERE `Profile`.`id` = 27 | | 0 | 0 | 0 |
| 45 | SELECT `descriptionT`.`id`, `descriptionT`.`locale`, `descriptionT`.`model`, `descriptionT`.`foreign_key`, `descriptionT`.`field`, `descriptionT`.`content` FROM `i18n` AS `descriptionT` WHERE `model` = 'Upload' AND `field` = 'description' AND `descriptionT`.`foreign_key` IN (1, 14, 46, 3, 10, 17, 47, 108, 2, 15, 54, 109, 9, 16, 49, 110, 18, 50, 111, 19, 48, 112, 20, 52, 21, 72, 22, 73, 23, 74, 24, 77, 25, 76, 27, 78, 28, 79, 29, 81, 30, 83, 31, 85, 32, 87, 33, 89, 34, 91, 35, 93, 36, 95, 37, 97, 38, 114, 40, 39) | | 180 | 180 | 0 |
| 46 | SELECT `MostWanted`.`id`, `MostWanted`.`model`, `MostWanted`.`foreign_key`, `MostWanted`.`counter`, `MostWanted`.`created`, `MostWanted`.`modified` FROM `most_wanted` AS `MostWanted` WHERE `MostWanted`.`foreign_key` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) ORDER BY `MostWanted`.`counter` DESC, `MostWanted`.`id` ASC | | 14 | 14 | 0 |
| 47 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 12 | | 1 | 1 | 0 |
| 48 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 13 | | 1 | 1 | 4 |
| 49 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 11 | | 1 | 1 | 0 |
| 50 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 17 | | 1 | 1 | 0 |
| 51 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 8 | | 1 | 1 | 0 |
| 52 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 5 | | 1 | 1 | 0 |
| 53 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 23 | | 1 | 1 | 0 |
| 54 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 4 | | 1 | 1 | 0 |
| 55 | SELECT `News`.`id`, `News`.`user_id`, `News`.`short`, `News`.`content`, `News`.`title`, `News`.`published`, `News`.`start`, `News`.`stop`, `News`.`time`, `News`.`date`, `News`.`tag`, `News`.`complete`, `News`.`created`, `News`.`modified` FROM `news` AS `News` WHERE `News`.`id` = 3 | | 1 | 1 | 0 |
| 56 | SELECT `Youtube`.`id`, `Youtube`.`news_id`, `Youtube`.`link`, `Youtube`.`created`, `Youtube`.`modified` FROM `youtubes` AS `Youtube` WHERE `Youtube`.`news_id` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) | | 0 | 0 | 4 |
| 57 | SELECT `titleT`.`id`, `titleT`.`locale`, `titleT`.`model`, `titleT`.`foreign_key`, `titleT`.`field`, `titleT`.`content` FROM `i18n` AS `titleT` WHERE `model` = 'News' AND `field` = 'title' AND `titleT`.`foreign_key` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) | | 42 | 42 | 0 |
| 58 | SELECT `contentT`.`id`, `contentT`.`locale`, `contentT`.`model`, `contentT`.`foreign_key`, `contentT`.`field`, `contentT`.`content` FROM `i18n` AS `contentT` WHERE `model` = 'News' AND `field` = 'content' AND `contentT`.`foreign_key` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) | | 42 | 42 | 0 |
| 59 | SELECT `shortT`.`id`, `shortT`.`locale`, `shortT`.`model`, `shortT`.`foreign_key`, `shortT`.`field`, `shortT`.`content` FROM `i18n` AS `shortT` WHERE `model` = 'News' AND `field` = 'short' AND `shortT`.`foreign_key` IN (27, 23, 17, 15, 13, 12, 11, 10, 9, 8, 6, 5, 4, 3) | | 42 | 42 | 5 |
| 60 | SELECT `MostWanted`.`id`, `MostWanted`.`model`, `MostWanted`.`foreign_key`, `MostWanted`.`counter`, `MostWanted`.`created`, `MostWanted`.`modified` FROM `most_wanted` AS `MostWanted` WHERE `MostWanted`.`foreign_key` = 23 AND `MostWanted`.`model` = 'News' LIMIT 1 | | 1 | 1 | 1 |
| 61 | SELECT COUNT(*) AS `count` FROM `most_wanted` AS `MostWanted` WHERE `MostWanted`.`id` = 16 | | 1 | 1 | 0 |
| 62 | UPDATE `most_wanted` SET `model` = 'News', `foreign_key` = 23, `counter` = 149, `modified` = '2010-09-06 03:49:32' WHERE `most_wanted`.`id` = 16 | | 1 | | 0 |
| 63 | SELECT `Upload`.*, `I18n__description`.`content` FROM `uploads` AS `Upload` LEFT JOIN `i18n` AS `I18n__description` ON (`Upload`.`id` = `I18n__description`.`foreign_key` AND `I18n__description`.`model` = 'Upload' AND `I18n__description`.`field` = 'description') WHERE `Upload`.`model` = 'News' AND `Upload`.`foreign_key` = 23 AND `I18n__description`.`locale` = 'pol' ORDER BY `Upload`.`position` ASC | | 0 | 0 | 2 |
| 64 | SELECT `Youtube`.`id`, `Youtube`.`news_id`, `Youtube`.`link`, `Youtube`.`created`, `Youtube`.`modified` FROM `youtubes` AS `Youtube` WHERE `Youtube`.`news_id` = 23 | | 0 | 0 | 1 |
| 65 | DESCRIBE `posts` | | 7 | 7 | 7 |
| 66 | DESCRIBE `options` | | 4 | 4 | 7 |
| 67 | SELECT `Option`.`value` FROM `options` AS `Option` WHERE `option` = 'news' LIMIT 1 | | 1 | 1 | 0 |