In MySQL I created a database with name like de mo, and it contains a table like tablename. When I try to execute a query, for example:
select * from de mo.tablename
I am not able to execute that query. How can I do that?
You'll have to quote the database name:
SELECT * FROM `de mo`.tablename
Spaces in identifiers are best avoided really.
use backticks:
`de mo`
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With