SELECT
							home_slider_main.ID	mainID,
							home_slider_main.title mainTitle,
							home_slider_main.style mainStyle,
							home_slider_main.showlink mainLinkShow,
							home_slider_main.linktype mainLinkType,
							home_slider_main.linktext mainLinkText,
							home_slider_main.linkurl mainLinkUrl,							
							home_slider_item.ID	itemID,
							home_slider_item.text itemText,
							home_slider_item.title itemTitle,
							home_slider_item.image itemImage,
							home_slider_item.showlink itemLinkShow,
							home_slider_item.linktype itemLinkType,
							home_slider_item.linktext itemLinkText,
							home_slider_item.linkurl itemLinkUrl
						FROM salihin_cms.home_slider_main, salihin_cms.home_slider_item
						WHERE home_slider_main.ID = home_slider_item.main
						AND home_slider_main.status = 'PUBLISHED'
						AND home_slider_item.status = 'PUBLISHED'
						ORDER BY home_slider_main.sequence, home_slider_item.sequence