Query |
SET NAMES UTF8 SELECT u.universityID, u.longName as name, up.name as uniPic FROM users_apll ua INNER JOIN university_specialty AS us ON (ua.university_specialtyID = us.university_specialtyID) LEFT JOIN university AS u ON (u.universityID = us.universityID) LEFT JOIN pic AS up ON (up.ID = u.pix) WHERE userID = '' GROUP BY u.universityID ORDER BY u.longName ASC SELECT s.specialtyID, s.shortName, s.longName, s.url FROM specialty as s INNER JOIN university_specialty AS us ON (s.specialtyID = us.specialtyID) WHERE s.hide = 0 AND us.hide=0 GROUP BY specialtyID ORDER BY s.shortName SELECT universityID, longName as shortName,url FROM university WHERE hide = 0 ORDER BY shortName SELECT cityID, shortName FROM city WHERE hide = 0 AND cityID IN (SELECT cityID FROM university WHERE hide = 0) OR cityID IN (SELECT cityID FROM university_affiliate WHERE hide = 0) ORDER BY shortName SELECT * FROM specialty WHERE hide = 0 AND url = 'tehnologiya-na-zarnenite-furajnitehlebnite-i-sladkarskite-produkti' UPDATE specialty SET hits = (hits + 1) WHERE specialtyID = '428' SELECT * FROM university_specialty WHERE hide = 0 AND specialtyID = '428' ORDER BY longName SELECT longName, cityID, pix FROM university WHERE universityID = '23' SELECT * FROM pic WHERE ID='43' SELECT cityID, longName, pix FROM city WHERE cityID='2' SELECT * FROM pic WHERE ID='4' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '606' AND ratingType = '3' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '606' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '466' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '606' SELECT url FROM university WHERE universityID = '23' SELECT url FROM university WHERE universityID = '23' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '606'
|
$data |
Array
(
[0] => Array
(
[university_specialtyID] => 606
[hide] => 0
[position] => 0
[universityID] => 23
[specialtyID] => 428
[napID] => 0
[university_facultyID] => 0
[university_scoringID] => 0
[shortName] => Технология на зърнените, фуражните,хлебните и сладкарските продукти
[longName] => Технология на зърнените, фуражните,хлебните и сладкарските продукти
[fo] => 2
[otherLang] => 0
[url] => tehnologiya-na-zarnenite-furajnitehlebnite-i-sladkarskite-produkti
[forbidenAppl] => 0
[universityData] => Array
(
[longName] => Университет по Хранителни Технологии
[cityID] => 2
[pix] => Array
(
[ID] => 43
[type] => 0
[name] => pofed1374671031.jpg
[title] =>
[txt] =>
[addDate] => 2013-07-24 16:04:01
)
)
[cityData] => Array
(
[cityID] => 2
[longName] => Пловдив
[pix] => Array
(
[ID] => 4
[type] => 0
[name] => km6f21369236145.jpg
[title] =>
[txt] =>
[addDate] => 2013-05-22 18:22:36
)
)
[imaMinBalove] => 1
[activeChance] => 466
)
)
1 |