
		SELECT * FROM access, tableList
		WHERE access.tableID = tableList.id
		AND tableList.main_menu = 'Yes'
		AND user = 11
		AND access.permission <> 'None'
		AND tableList.active = 'Active'
		ORDER BY tableList.prompt
	