| 1 | DESCRIBE `licopp` | | 23 | 23 | 2 |
| 2 | DESCRIBE `company` | | 27 | 27 | 1 |
| 3 | DESCRIBE `condet` | | 17 | 17 | 1 |
| 4 | DESCRIBE `countrycode` | | 4 | 4 | 1 |
| 5 | DESCRIBE `person` | | 15 | 15 | 2 |
| 6 | DESCRIBE `account` | | 29 | 29 | 2 |
| 7 | DESCRIBE `product_legacy` | | 6 | 6 | 8 |
| 8 | DESCRIBE `sales_people` | | 6 | 6 | 1 |
| 9 | DESCRIBE `profile` | | 14 | 14 | 1 |
| 10 | DESCRIBE `currencies` | | 7 | 7 | 1 |
| 11 | DESCRIBE `update_rec` | | 7 | 7 | 1 |
| 12 | DESCRIBE `user` | | 24 | 24 | 1 |
| 13 | DESCRIBE `enquiry` | | 14 | 14 | 1 |
| 14 | DESCRIBE `module_types` | | 6 | 6 | 1 |
| 15 | DESCRIBE `dms_companies` | | 26 | 26 | 1 |
| 16 | DESCRIBE `dms_releases` | | 10 | 10 | 1 |
| 17 | DESCRIBE `dms_categories` | | 4 | 4 | 1 |
| 18 | DESCRIBE `dms_clinical_areas` | | 4 | 4 | 4 |
| 19 | DESCRIBE `dms_categories_dms_releases` | | 2 | 2 | 2 |
| 20 | DESCRIBE `dms_clinical_areas_dms_releases` | | 2 | 2 | 1 |
| 21 | DESCRIBE `dms_releases_sites` | | 5 | 5 | 1 |
| 22 | DESCRIBE `development_statuses` | | 5 | 5 | 1 |
| 23 | DESCRIBE `category` | | 14 | 14 | 1 |
| 24 | DESCRIBE `categories_sites` | | 5 | 5 | 2 |
| 25 | DESCRIBE `categorisation` | | 8 | 8 | 1 |
| 26 | DESCRIBE `licopps_sites` | | 3 | 3 | 1 |
| 27 | DESCRIBE `service` | | 15 | 15 | 2 |
| 28 | DESCRIBE `press_release` | | 13 | 13 | 2 |
| 29 | DESCRIBE `press_releases_sites` | | 5 | 5 | 2 |
| 30 | DESCRIBE `story` | | 12 | 12 | 2 |
| 31 | DESCRIBE `sites_stories` | | 5 | 5 | 2 |
| 32 | DESCRIBE `story_assoc` | | 4 | 4 | 2 |
| 33 | DESCRIBE `companies_sites` | | 3 | 3 | 1 |
| 34 | DESCRIBE `categories_users` | | 2 | 2 | 3 |
| 35 | DESCRIBE `authority` | | 3 | 3 | 3 |
| 36 | DESCRIBE `sites_users` | | 5 | 5 | 1 |
| 37 | DESCRIBE `sites` | | 5 | 5 | 2 |
| 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 | 1 |
| 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` = 651 AND `Category`.`restricted` IS NULL ORDER BY `Category`.`name` ASC | | 25 | 25 | 1 |
| 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 (2049, 1623, 1624, 1625, 2131, 1626, 2132, 1627, 1628, 1629, 1630, 2134, 652, 653, 1631, 2130, 2133, 1633, 1638, 1634, 1635, 1636, 1637, 1639, 1640) ORDER BY `name` ASC | | 0 | 0 | 1 |
| 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 | 1 |
| 44 | SELECT c.lft, c.rgt FROM category c WHERE c.uid = 651 | | 1 | 1 | 1 |
| 45 | SELECT c.uid, c.name, c.level FROM category c WHERE c.lft <= "3505" AND c.rgt >= "3556" 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` = 651 LIMIT 1 | | 1 | 1 | 1 |
| 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 (5660, 4649, 4634, 4849, 2711, 18790, 4895, 4894, 4532, 4259) AND `Categorisation`.`category_id` = `Category`.`uid`) WHERE cat_type="L" ORDER BY `Category`.`root` ASC, `Category`.`clan` ASC, `Category`.`parent` ASC, `Category`.`name` ASC | | 85 | 85 | 1 |
| 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 (5660, 4649, 4634, 4849, 2711, 18790, 4895, 4894, 4532, 4259) AND `Categorisation`.`category_id` = `TherapeuticTarget`.`uid`) WHERE `cat_type` = 'L' ORDER BY `TherapeuticTarget`.`root` ASC, `TherapeuticTarget`.`clan` ASC, `TherapeuticTarget`.`parent` ASC, `TherapeuticTarget`.`name` ASC | | 85 | 85 | 1 |