You should use
datalab query --sql="select * from mydb://test"
449 questions
463 answers
473 comments
658 users