Outputs the clip ids from the database.