Hopefull I wrote my sql right this time... guess the syntax of sqlite is more like mysql