Marcelog sql builder