select id from editConference where ConfUrl = 'dentistry.annualcongress.com/events-list/events-list/paediatric-and-geriatric-dentistry' and up=1 ORDER BY id ASC select id from editConference where ConfUrl = 'dentistry.annualcongress.com/events-list' and up = '1' ORDER BY id ASC