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 universityID,longName,url,shortName FROM university WHERE url = 'uasg' UPDATE university SET hits = (hits + 1) WHERE universityID = '22' SELECT * FROM university_specialty WHERE hide = 0 AND universityID = '22' ORDER BY longName SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '593' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '593' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '593' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '593' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '593' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '0' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '601' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '601' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '601' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '601' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '601' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '592' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '592' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '592' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '592' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '592' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '594' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '594' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '594' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '594' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '594' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '595' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '595' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '595' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '595' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '595' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '596' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '596' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '596' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '596' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '596' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '597' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '597' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '597' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '597' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '597' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '599' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '599' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '599' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '599' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '599' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '457' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '600' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '600' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '600' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '600' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '600' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '603' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '603' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '603' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '603' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '603' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '598' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '598' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '598' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '598' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '598' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT longName, cityID, pix FROM university WHERE universityID = '22' SELECT * FROM pic WHERE ID='41' SELECT cityID, longName, pix FROM city WHERE cityID='1' SELECT * FROM pic WHERE ID='6' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '602' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '602' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '602' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '602' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '602' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '458' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '593' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '593' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '601' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '601' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '592' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '592' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '594' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '594' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '595' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '595' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '596' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '596' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '597' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '597' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '599' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '599' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '600' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '600' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '603' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '603' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '598' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '598' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '602' SELECT url FROM university WHERE universityID = '22' SELECT url FROM university WHERE universityID = '22' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '602'
|