Successfully query SQL database, still broken however.