You should use
datalab query --sql="select * from mydb://test"
359 questions
372 answers
385 comments
2,451 users