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 universityID,longName,shortName,url, pix FROM university WHERE url = 'ltu-sofia' SELECT * FROM university_specialty WHERE url = 'ekologia-i-opazvane-na-okolnata-sreda' AND universityID='25' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '710' SELECT url FROM university WHERE universityID = '25' SELECT * FROM pic WHERE ID='0' SELECT * FROM university_specialty_labels_conector WHERE university_specialtyID = '710' AND hide = '0' ORDER BY position SELECT * FROM specialty_labels WHERE specialty_labelsID = '293' SELECT * FROM specialty_labels WHERE specialty_labelsID = '294' SELECT * FROM university_specialty_labels WHERE university_specialty_labelsID = '1440' SELECT * FROM specialty_labels WHERE specialty_labelsID = '296' SELECT universityID, university_specialtyID, shortName, url, longName FROM university_specialty WHERE specialtyID = '74' AND hide = '0' SELECT shortName, longName, pix FROM university WHERE universityID = '9' SELECT * FROM pic WHERE ID='20' SELECT shortName, longName, pix FROM university WHERE universityID = '5' SELECT * FROM pic WHERE ID='17' SELECT shortName, longName, pix FROM university WHERE universityID = '12' SELECT * FROM pic WHERE ID='14' SELECT shortName, longName, pix FROM university WHERE universityID = '4' SELECT * FROM pic WHERE ID='15' SELECT shortName, longName, pix FROM university WHERE universityID = '3' SELECT * FROM pic WHERE ID='1' SELECT shortName, longName, pix FROM university WHERE universityID = '17' SELECT * FROM pic WHERE ID='42' SELECT shortName, longName, pix FROM university WHERE universityID = '18' SELECT * FROM pic WHERE ID='39' SELECT shortName, longName, pix FROM university WHERE universityID = '24' SELECT * FROM pic WHERE ID='44' SELECT shortName, longName, pix FROM university WHERE universityID = '25' SELECT * FROM pic WHERE ID='0' SELECT shortName, longName, pix FROM university WHERE universityID = '30' SELECT * FROM pic WHERE ID='0' SELECT shortName, longName, pix FROM university WHERE universityID = '31' SELECT * FROM pic WHERE ID='0'
SELECT university_examID, name FROM university_exam AS e
LEFT JOIN university_scoring_values as v
ON e.university_examID = v.valuesIDs
LEFT JOIN university_scoring_structure as s
ON s.scoringPos = v.scoringPos
LEFT JOIN university_specialty_score_type as t
ON t.university_scoringID = s.university_scoringID
WHERE s.scoringType = '2' AND t.scoreYear = '2014' AND t.university_specialtyID = '710'
GROUP BY valuesIDs
SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '710' SELECT url FROM university WHERE universityID = '25' SELECT url FROM specialty WHERE specialtyID = '74' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '54' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '54' SELECT url FROM university WHERE universityID = '9' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '185' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '547' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '185' SELECT url FROM university WHERE universityID = '5' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '354' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '354' SELECT url FROM university WHERE universityID = '12' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '387' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '274' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '387' SELECT url FROM university WHERE universityID = '4' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '425' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '397' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '425' SELECT url FROM university WHERE universityID = '3' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '528' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '515' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '528' SELECT url FROM university WHERE universityID = '17' 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 url,universityID FROM university_specialty WHERE university_specialtyID = '561' SELECT url FROM university WHERE universityID = '18' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '656' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '579' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '656' SELECT url FROM university WHERE universityID = '24' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '710' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '710' SELECT url FROM university WHERE universityID = '25' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '794' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '794' SELECT url FROM university WHERE universityID = '30' SELECT university_scoringID FROM university_specialty_score_type WHERE university_specialtyID = '811' AND scoreYear = (2014 - 1) SELECT hide FROM university_scoring WHERE university_scoringID = '' SELECT url,universityID FROM university_specialty WHERE university_specialtyID = '811' SELECT url FROM university WHERE universityID = '31'
|