left join
- font size decrease font size increase font size
- Print Email
{codecitation class="brush:sql" width="500px"}
SELECT `tbl_cours_info`.crs_nom as cours,
concat(`tbl_professeur`.`prof_nom`," ",`tbl_professeur`.`prof_prenom`)as prof,
`tbl_emploi_du_temps`.`empl_jours` as jours,
`tbl_emploi_du_temps`.`empl_heures_begin` as tbegin,
`tbl_emploi_du_temps`.`empl_heures_end` as tend
FROM `tbl_emploi_du_temps`
LEFT JOIN `tbl_cours_info` ON `tbl_emploi_du_temps`.`empl_cours_id` = `tbl_cours_info`.`crs_id`
LEFT JOIN `tbl_professeur` ON `tbl_emploi_du_temps`.`empl_prof_id`= `tbl_professeur`.`prof_id`
ORDER BY `tbl_emploi_du_temps`.`empl_jours` ASC
{/codecitation}
Last modified onSunday, 14 October 2012 04:07
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 413936 | {main}( ) | .../index.php:0 |
2 | 0.0956 | 4718424 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0956 | 4718424 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4177 | 12446392 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4183 | 12470736 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4192 | 12526064 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4195 | 12554888 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4283 | 12990296 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4283 | 12990296 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4373 | 13715496 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4373 | 13715496 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4412 | 14111864 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4431 | 14132232 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5314 | 17037440 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5314 | 17037440 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5358 | 17217640 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in MYSQL
- Read 1596 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 413936 | {main}( ) | .../index.php:0 |
2 | 0.0956 | 4718424 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0956 | 4718424 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4177 | 12446392 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4183 | 12470736 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4192 | 12526064 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4195 | 12554888 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4283 | 12990296 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4283 | 12990296 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4373 | 13715496 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4373 | 13715496 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4412 | 14111864 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4431 | 14132232 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5314 | 17037440 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5314 | 17037440 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5358 | 17217640 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |