| 1 | DESCRIBE `licopp` | | 23 | 23 | 1 |
| 2 | DESCRIBE `company` | | 27 | 27 | 1 |
| 3 | DESCRIBE `condet` | | 17 | 17 | 9 |
| 4 | DESCRIBE `countrycode` | | 4 | 4 | 1 |
| 5 | DESCRIBE `person` | | 15 | 15 | 3 |
| 6 | DESCRIBE `account` | | 29 | 29 | 8 |
| 7 | DESCRIBE `product_legacy` | | 6 | 6 | 6 |
| 8 | DESCRIBE `sales_people` | | 6 | 6 | 3 |
| 9 | DESCRIBE `profile` | | 14 | 14 | 4 |
| 10 | DESCRIBE `currencies` | | 7 | 7 | 6 |
| 11 | DESCRIBE `update_rec` | | 7 | 7 | 4 |
| 12 | DESCRIBE `user` | | 24 | 24 | 1 |
| 13 | DESCRIBE `enquiry` | | 14 | 14 | 19 |
| 14 | DESCRIBE `module_types` | | 6 | 6 | 1 |
| 15 | DESCRIBE `dms_companies` | | 26 | 26 | 3 |
| 16 | DESCRIBE `dms_releases` | | 10 | 10 | 11 |
| 17 | DESCRIBE `dms_categories` | | 4 | 4 | 4 |
| 18 | DESCRIBE `dms_clinical_areas` | | 4 | 4 | 11 |
| 19 | DESCRIBE `dms_categories_dms_releases` | | 2 | 2 | 2 |
| 20 | DESCRIBE `dms_clinical_areas_dms_releases` | | 2 | 2 | 4 |
| 21 | DESCRIBE `dms_releases_sites` | | 5 | 5 | 2 |
| 22 | DESCRIBE `development_statuses` | | 5 | 5 | 3 |
| 23 | DESCRIBE `category` | | 14 | 14 | 14 |
| 24 | DESCRIBE `categories_sites` | | 5 | 5 | 2 |
| 25 | DESCRIBE `categorisation` | | 8 | 8 | 3 |
| 26 | DESCRIBE `licopps_sites` | | 3 | 3 | 4 |
| 27 | DESCRIBE `service` | | 15 | 15 | 4 |
| 28 | DESCRIBE `press_release` | | 13 | 13 | 2 |
| 29 | DESCRIBE `press_releases_sites` | | 5 | 5 | 15 |
| 30 | DESCRIBE `story` | | 12 | 12 | 14 |
| 31 | DESCRIBE `sites_stories` | | 5 | 5 | 1 |
| 32 | DESCRIBE `story_assoc` | | 4 | 4 | 6 |
| 33 | DESCRIBE `companies_sites` | | 3 | 3 | 20 |
| 34 | DESCRIBE `categories_users` | | 2 | 2 | 4 |
| 35 | DESCRIBE `authority` | | 3 | 3 | 4 |
| 36 | DESCRIBE `sites_users` | | 5 | 5 | 1 |
| 37 | DESCRIBE `sites` | | 5 | 5 | 4 |
| 38 | 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 | 1 |
| 39 | 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 AND `Category`.`restricted` IS NULL ORDER BY `Category`.`name` ASC | | 8 | 8 | 23 |
| 40 | 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 (505, 303, 432, 319, 798, 453, 298, 805) ORDER BY `name` ASC | | 67 | 67 | 1 |
| 41 | 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` = 572 AND `Category`.`restricted` IS NULL ORDER BY `Category`.`name` ASC | | 28 | 28 | 20 |
| 42 | 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 (1508, 1511, 1512, 1513, 1514, 574, 2101, 1515, 1518, 1523, 1525, 1526, 1527, 1528, 1529, 1530, 1539, 1541, 1807, 1543, 1548, 1521, 1550, 1552, 2099, 1553, 2077, 2102) ORDER BY `name` ASC | | 73 | 73 | 2 |
| 43 | SELECT `DevelopmentStatus`.`id`, `DevelopmentStatus`.`name` FROM `development_statuses` AS `DevelopmentStatus` WHERE 1 = 1 GROUP BY `DevelopmentStatus`.`id`, `DevelopmentStatus`.`name` ORDER BY `DevelopmentStatus`.`display_order` ASC | | 9 | 9 | 9 |
| 44 | SELECT c.lft, c.rgt FROM category c WHERE c.uid = 572 | | 1 | 1 | 9 |
| 45 | SELECT c.uid, c.name, c.level FROM category c WHERE c.lft <= "3855" AND c.rgt >= "4058" AND c.level > 1 ORDER BY c.level | | 1 | 1 | 1 |
| 46 | 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` = 572 LIMIT 1 | | 1 | 1 | 2 |
| 47 | SELECT `Category`.`uid`, `Category`.`name`, `Category`.`parent`, `Category`.`has_children`, `Category`.`show_children`, `Category`.`show_grandchildren`, `Category`.`members`, `Category`.`num_children`, `Category`.`root`, `Category`.`restricted`, `Category`.`clan`, `Category`.`lft`, `Category`.`rgt`, `Category`.`level`, `Categorisation`.`id`, `Categorisation`.`company_id`, `Categorisation`.`buysell`, `Categorisation`.`category_id`, `Categorisation`.`browse_category_id`, `Categorisation`.`cat_type`, `Categorisation`.`story_id`, `Categorisation`.`network_id` FROM `category` AS `Category` JOIN `categorisation` AS `Categorisation` ON (`Categorisation`.`company_id` IN (4340, 2111, 2110, 5471, 5600, 18793, 19393, 19293, 19291, 19406) AND `Categorisation`.`category_id` = `Category`.`uid`) WHERE cat_type="P" ORDER BY `Category`.`root` ASC, `Category`.`clan` ASC, `Category`.`parent` ASC, `Category`.`name` ASC | | 142 | 142 | 7 |
| 48 | SELECT `TherapeuticTarget`.`uid`, `TherapeuticTarget`.`name`, `TherapeuticTarget`.`parent`, `TherapeuticTarget`.`has_children`, `TherapeuticTarget`.`show_children`, `TherapeuticTarget`.`show_grandchildren`, `TherapeuticTarget`.`members`, `TherapeuticTarget`.`num_children`, `TherapeuticTarget`.`root`, `TherapeuticTarget`.`restricted`, `TherapeuticTarget`.`clan`, `TherapeuticTarget`.`lft`, `TherapeuticTarget`.`rgt`, `TherapeuticTarget`.`level`, `Categorisation`.`id`, `Categorisation`.`company_id`, `Categorisation`.`buysell`, `Categorisation`.`category_id`, `Categorisation`.`browse_category_id`, `Categorisation`.`cat_type`, `Categorisation`.`story_id`, `Categorisation`.`network_id` FROM `category` AS `TherapeuticTarget` JOIN `categorisation` AS `Categorisation` ON (`Categorisation`.`company_id` IN (4340, 2111, 2110, 5471, 5600, 18793, 19393, 19293, 19291, 19406) AND `Categorisation`.`category_id` = `TherapeuticTarget`.`uid`) WHERE `cat_type` = 'P' ORDER BY `TherapeuticTarget`.`root` ASC, `TherapeuticTarget`.`clan` ASC, `TherapeuticTarget`.`parent` ASC, `TherapeuticTarget`.`name` ASC | | 142 | 142 | 27 |