SELECT BANK ACCOUNT.*FROM BANK ACCOUNT ORDER BY ACCOUNT NAME

What is the missing operator here? In sql statement, pls I need help

Recommended Answers

All 9 Replies

What database are you using?

Does Bank Account really have spaces in? Also does Account Name really have spaces in?

YES IT HAVE SIR

Try putting [] around the words with spaces in

IT DOES HAVE SPACES SIR

STILL NOT WORKING SIR

Do you get an error message?

Try

SELECT * FROM [BANK ACCOUNT] ORDER BY [ACCOUNT NAME]

but if possible you should rename the columns by replacing the spaces with underscores.

THANK YOU SIR FOR HELPING ME IT WORKS :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.