Fixed showtables problem, SQL not working yet