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 * FROM university WHERE url = 'nha-sofia' SELECT * FROM pic WHERE ID='0' SELECT * FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT * FROM university_specialty WHERE universityID = '35' AND hide = '0' ORDER BY longName SELECT * FROM university_labels WHERE universityID = '35' AND (hide = '0' OR hide = '3') SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '898' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '898' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '909' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '909' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '908' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '908' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '895' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '895' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '901' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '901' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '893' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '893' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '903' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '903' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '899' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '899' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '906' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '906' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '894' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '894' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '900' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '900' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '902' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '902' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '907' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '907' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '910' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '910' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '897' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '897' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '896' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '896' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '904' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '904' SELECT url FROM university WHERE universityID = '35' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '905' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '905' SELECT url FROM university WHERE universityID = '35'
|