SELECT SQL_CALC_FOUND_ROWS DISTINCT `t_student_registration`.`id` AS `t_student_registration___id`, `t_student_registration`.`id` AS `t_student_registration___id_raw`, `t_student_registration`.`date_time` AS `t_student_registration___date_time`, `t_student_registration`.`date_time` AS `t_student_registration___date_time_raw`, `t_student_registration`.`Date_of_Birth` AS `t_student_registration___Date_of_Birth`, `t_student_registration`.`Date_of_Birth` AS `t_student_registration___Date_of_Birth_raw`, `t_student_registration`.`Age` AS `t_student_registration___Age`, `t_student_registration`.`Age` AS `t_student_registration___Age_raw`, `t_student_registration`.`Gender` AS `t_student_registration___Gender`, `t_student_registration`.`Gender` AS `t_student_registration___Gender_raw`, `t_student_registration`.`First_Name` AS `t_student_registration___First_Name`, `t_student_registration`.`First_Name` AS `t_student_registration___First_Name_raw`, `t_student_registration`.`Teacher_Guardian_Email` AS `t_student_registration___Teacher_Guardian_Email`, `t_student_registration`.`Teacher_Guardian_Email` AS `t_student_registration___Teacher_Guardian_Email_raw`, `t_student_registration`.`User_Name` AS `t_student_registration___User_Name`, `t_student_registration`.`User_Name` AS `t_student_registration___User_Name_raw`, `t_student_registration`.`Password` AS `t_student_registration___Password`, `t_student_registration`.`Password` AS `t_student_registration___Password_raw`, `t_student_registration`.`CountryList` AS `t_student_registration___CountryList`, `t_student_registration`.`CountryList` AS `t_student_registration___CountryList_raw`, `t_student_registration`.`City` AS `t_student_registration___City_raw`, `t_setup`.`City` AS `t_student_registration___City`, `t_student_registration`.`School_Name` AS `t_student_registration___School_Name_raw`, `t_setup_0`.`School_Name` AS `t_student_registration___School_Name`, `t_student_registration`.`user_id` AS `t_student_registration___user_id`, `t_student_registration`.`user_id` AS `t_student_registration___user_id_raw`, `t_student_registration`.`id` AS slug , `t_student_registration`.`id` AS `__pk_val` FROM `t_student_registration` LEFT JOIN `t_setup` AS `t_setup` ON `t_setup`.`id` = `t_student_registration`.`City` LEFT JOIN `t_setup` AS `t_setup_0` ON `t_setup_0`.`id` = `t_student_registration`.`School_Name` WHERE ( t_student_registration.user_id = '532' ) ORDER BY `t_student_registration`.`id` DESC