> Is there a way to tell SQL just to return the first 20 records? "SELECT ... LIMIT 20". You can also add an offset; "SELECT ... LIMIT 100, 20" will give you 20 records starting at the 101st.