1

In MSSQL Server, I can execute the following SQL

SELECT * FROM DATABASENAME..TABLENAME

or

SELECT * FROM DATABASENAME.dbo.TABLENAME

What is the equivalent syntax on MYSQL to perform this SQL (DATABASE..TABLE)?

2 Answers 2

2

If you want to select all the records from a database table the syntax is quite similar it's

SELECT * FROM DatabaseName.TableName
0
2

You can do below

SELECT * from  mydatabase1.tblName
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.