Create g.sql

Hey tim have a look at this