This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Considering any course has just one author */ | |
select course.name as course_name, | |
author.name as author, | |
count(distinct section.id) as section_cnt, | |
count(*) as class_cnt | |
from course | |
left join author on author.id = course.author_id | |
left join section on section.course_id = course.id | |
left join class on class.section_id = section.id |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyClass { | |
public $id; | |
public $attribute; | |
public $value; | |
function __construct($i, $a, $v) | |
{ | |
$this->id = $i; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Channel managers: | |
1. beds24.com | |
2. littlehotelier.com | |
3. myallocator.com = cloudbeds.com -> the biggest one and the best one | |
4. Siteminder | |
5. Mappingmaster | |
6. AvailPro | |
Articles: | |
https://www.tnooz.com/article/eleven-tips-when-picking-the-best-channel-management-technology-for-hotels/ |