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 = 'minno-geolojki-universitet-sv-ivan-rilski' UPDATE university SET hits = (hits + 1) WHERE universityID = '18' SELECT * FROM university_specialty WHERE hide = 0 AND universityID = '18' ORDER BY longName SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '553' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '553' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '553' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '553' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '553' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '558' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '558' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '558' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '558' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '558' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '554' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '554' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '554' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '554' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '554' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '559' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '559' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '559' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '559' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '559' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '560' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '560' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '560' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '560' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '560' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '561' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '561' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '561' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '561' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '561' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '438' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '555' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '555' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '555' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '556' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '556' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '556' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '556' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '556' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '547' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '547' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '547' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '547' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '547' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '557' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '557' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '557' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '557' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '557' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '548' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '548' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '548' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '548' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '548' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '438' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '550' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '550' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '550' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '550' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '550' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '562' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '562' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '562' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '562' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '562' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '551' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '551' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '551' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '551' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '551' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '563' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '563' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '563' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '563' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '563' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '552' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '552' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '552' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '552' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '552' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '436' SELECT longName, cityID, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' 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 = '564' AND ratingType = '1' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '564' AND ratingType = '2' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2013' AND minmax = '' AND university_specialtyID = '564' AND ratingType = '3' SELECT ratingValue FROM university_specialty_score WHERE scoreYear = '2012' AND minmax = '' AND university_specialtyID = '564' AND ratingType = '1' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '564' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '437' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '553' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '553' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '558' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '558' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '554' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '554' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '559' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '559' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '560' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '560' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '561' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '561' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '555' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '555' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '556' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '556' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '547' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '547' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '557' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '557' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '548' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '548' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '550' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '550' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '562' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '562' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '551' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '551' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '563' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '563' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '552' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '552' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '564' SELECT url FROM university WHERE universityID = '18' SELECT url FROM university WHERE universityID = '18' SELECT forbidenAppl FROM university_specialty WHERE university_specialtyID = '564'
|