SELECT
questions.questionsid,
questions.description as 'questions.description',
questions.points,
question_sub_catagory.index_number ,
question_sub_catagory.description  as 'question_sub_catagory.description',question_catagory.description  as 'question_catagory.description'
FROM
questions
Left Join question_catagory ON question_catagory.question_catagoryid = questions.question_catagoryid
Left Join question_sub_catagory ON question_sub_catagory.question_sub_catagoryid = questions.question_sub_catagoryid
