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 = 'bsu' SELECT * FROM pic WHERE ID='10' SELECT * FROM city WHERE cityID='10' SELECT * FROM pic WHERE ID='3' SELECT * FROM university_specialty WHERE universityID = '10' AND hide = '0' ORDER BY longName SELECT * FROM university_labels WHERE universityID = '10' AND (hide = '0' OR hide = '3') SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '4' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '4' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '19' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '19' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '5' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '5' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '20' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '20' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '21' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '21' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '22' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '22' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '23' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '23' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1055' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1055' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1049' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1049' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '24' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '24' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '25' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '25' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '424' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '424' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '26' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '26' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1051' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1051' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1050' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1050' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '27' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '27' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1052' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1052' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1053' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1053' SELECT url FROM university WHERE universityID = '10' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '1054' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '1054' SELECT url FROM university WHERE universityID = '10'
|