| 1 | DESCRIBE `company` | | 27 | 27 | 1 |
| 2 | DESCRIBE `condet` | | 17 | 17 | 1 |
| 3 | DESCRIBE `countrycode` | | 4 | 4 | 2 |
| 4 | DESCRIBE `person` | | 15 | 15 | 1 |
| 5 | DESCRIBE `account` | | 29 | 29 | 2 |
| 6 | DESCRIBE `product_legacy` | | 6 | 6 | 1 |
| 7 | DESCRIBE `sales_people` | | 6 | 6 | 1 |
| 8 | DESCRIBE `profile` | | 14 | 14 | 1 |
| 9 | DESCRIBE `currencies` | | 7 | 7 | 2 |
| 10 | DESCRIBE `update_rec` | | 7 | 7 | 1 |
| 11 | DESCRIBE `user` | | 24 | 24 | 1 |
| 12 | DESCRIBE `enquiry` | | 14 | 14 | 3 |
| 13 | DESCRIBE `module_types` | | 6 | 6 | 1 |
| 14 | DESCRIBE `dms_companies` | | 26 | 26 | 3 |
| 15 | DESCRIBE `dms_releases` | | 10 | 10 | 1 |
| 16 | DESCRIBE `dms_categories` | | 4 | 4 | 2 |
| 17 | DESCRIBE `dms_clinical_areas` | | 4 | 4 | 3 |
| 18 | DESCRIBE `dms_categories_dms_releases` | | 2 | 2 | 1 |
| 19 | DESCRIBE `dms_clinical_areas_dms_releases` | | 2 | 2 | 3 |
| 20 | DESCRIBE `dms_releases_sites` | | 5 | 5 | 2 |
| 21 | DESCRIBE `licopp` | | 23 | 23 | 3 |
| 22 | DESCRIBE `development_statuses` | | 5 | 5 | 1 |
| 23 | DESCRIBE `category` | | 14 | 14 | 1 |
| 24 | DESCRIBE `categories_sites` | | 5 | 5 | 1 |
| 25 | DESCRIBE `categorisation` | | 8 | 8 | 1 |
| 26 | DESCRIBE `licopps_sites` | | 3 | 3 | 1 |
| 27 | DESCRIBE `service` | | 15 | 15 | 4 |
| 28 | DESCRIBE `press_release` | | 13 | 13 | 2 |
| 29 | DESCRIBE `press_releases_sites` | | 5 | 5 | 2 |
| 30 | DESCRIBE `story` | | 12 | 12 | 1 |
| 31 | DESCRIBE `sites_stories` | | 5 | 5 | 1 |
| 32 | DESCRIBE `story_assoc` | | 4 | 4 | 2 |
| 33 | DESCRIBE `companies_sites` | | 3 | 3 | 1 |
| 34 | DESCRIBE `categories_users` | | 2 | 2 | 1 |
| 35 | DESCRIBE `authority` | | 3 | 3 | 5 |
| 36 | DESCRIBE `sites_users` | | 5 | 5 | 2 |
| 37 | DESCRIBE `products` | | 8 | 8 | 1 |
| 38 | DESCRIBE `sites` | | 5 | 5 | 1 |
| 39 | SELECT `Site`.`id`, `Site`.`name`, `Site`.`email_domain`, `Site`.`short_name`, `Site`.`brand` FROM `sites` AS `Site` WHERE `Site`.`id` = 1 LIMIT 1 | | 1 | 1 | 2 |
| 40 | SELECT `Category`.`uid`, `Category`.`name` FROM `category` AS `Category` LEFT JOIN `category` AS `Parent` ON (`Category`.`parent` = `Parent`.`uid`) LEFT JOIN `categories_sites` AS `CategorySite` ON (`CategorySite`.`category_id` = `Category`.`uid`) WHERE `CategorySite`.`site_id` = 1 AND `Category`.`parent` = 297 ORDER BY `Category`.`name` ASC | | 11 | 11 | 1 |
| 41 | SELECT `Child`.`uid`, `Child`.`name`, `Child`.`parent`, `Child`.`has_children`, `Child`.`show_children`, `Child`.`show_grandchildren`, `Child`.`members`, `Child`.`num_children`, `Child`.`root`, `Child`.`restricted`, `Child`.`clan`, `Child`.`lft`, `Child`.`rgt`, `Child`.`level` FROM `category` AS `Child` WHERE `Child`.`parent` IN (527, 505, 303, 432, 319, 798, 453, 514, 298, 805, 534) ORDER BY `name` ASC | | 111 | 111 | 0 |
| 42 | SELECT `Category`.`uid`, `Category`.`name` FROM `category` AS `Category` LEFT JOIN `category` AS `Parent` ON (`Category`.`parent` = `Parent`.`uid`) LEFT JOIN `categories_sites` AS `CategorySite` ON (`CategorySite`.`category_id` = `Category`.`uid`) WHERE `CategorySite`.`site_id` = 1 AND `Category`.`parent` = 654 ORDER BY `Category`.`name` ASC | | 24 | 24 | 1 |
| 43 | SELECT `Child`.`uid`, `Child`.`name`, `Child`.`parent`, `Child`.`has_children`, `Child`.`show_children`, `Child`.`show_grandchildren`, `Child`.`members`, `Child`.`num_children`, `Child`.`root`, `Child`.`restricted`, `Child`.`clan`, `Child`.`lft`, `Child`.`rgt`, `Child`.`level` FROM `category` AS `Child` WHERE `Child`.`parent` IN (2149, 1709, 656, 1710, 660, 1560, 657, 1712, 1713, 1714, 1715, 1716, 1717, 628, 1718, 1719, 1720, 1721, 1722, 1723, 658, 659, 655, 1974) ORDER BY `name` ASC | | 0 | 0 | 1 |
| 44 | SELECT `Category`.`uid`, `Category`.`name` FROM `category` AS `Category` LEFT JOIN `category` AS `Parent` ON (`Category`.`parent` = `Parent`.`uid`) LEFT JOIN `categories_sites` AS `CategorySite` ON (`CategorySite`.`category_id` = `Category`.`uid`) WHERE `CategorySite`.`site_id` = 1 AND `Category`.`parent` = 1 ORDER BY `Category`.`name` ASC | | 8 | 8 | 1 |
| 45 | SELECT `Child`.`uid`, `Child`.`name`, `Child`.`parent`, `Child`.`has_children`, `Child`.`show_children`, `Child`.`show_grandchildren`, `Child`.`members`, `Child`.`num_children`, `Child`.`root`, `Child`.`restricted`, `Child`.`clan`, `Child`.`lft`, `Child`.`rgt`, `Child`.`level` FROM `category` AS `Child` WHERE `Child`.`parent` IN (72, 46, 69, 212, 2, 119, 145, 244) ORDER BY `name` ASC | | 187 | 187 | 0 |
| 46 | SELECT c.lft, c.rgt FROM category c WHERE c.uid = 654 | | 1 | 1 | 1 |
| 47 | SELECT c.uid, c.name, c.level FROM category c WHERE c.lft <= "3731" AND c.rgt >= "3780" AND c.level > 1 ORDER BY c.level | | 1 | 1 | 1 |
| 48 | SELECT `TherapeuticTarget`.`lft`, `TherapeuticTarget`.`rgt`, `TherapeuticTarget`.`uid` FROM `category` AS `TherapeuticTarget` LEFT JOIN `category` AS `Parent` ON (`TherapeuticTarget`.`parent` = `Parent`.`uid`) LEFT JOIN `categories_sites` AS `CategorySite` ON (`CategorySite`.`category_id` = `TherapeuticTarget`.`uid`) WHERE `CategorySite`.`site_id` = 1 AND `TherapeuticTarget`.`uid` = 654 LIMIT 1 | | 1 | 1 | 0 |