Moved sql to giddyup_sql