Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 65539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:57:44+00:00 2026-05-10T18:57:44+00:00

After reading a couple of answers and comments on some SQL questions here, and

  • 0

After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I’m wondering if there’s anything wrong with using backticks around field names in MySQL.

That is:

SELECT `id`, `name`, `anotherfield` ... -- vs -- SELECT id, name, anotherfield ... 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:57:45+00:00Added an answer on May 10, 2026 at 6:57 pm

    Using backticks permits you to use alternative characters. In query writing it’s not such a problem, but if one assumes you can just use backticks, I would assume it lets you get away with ridiculous stuff like

    SELECT `id`, `my name`, `another field` , `field,with,comma`  

    Which does of course generate badly named tables.

    If you’re just being concise I don’t see a problem with it, you’ll note if you run your query as such

    EXPLAIN EXTENDED Select foo,bar,baz  

    The generated warning that comes back will have back-ticks and fully qualified table names. So if you’re using query generation features and automated re-writing of queries, backticks would make anything parsing your code less confused.

    I think however, instead of mandating whether or not you can use backticks, they should have a standard for names. It solves more ‘real’ problems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across couple of questions about OCL expressions. After reading some university slides
After reading some questions and answers about enum I don't find it really useful...
After reading quite a couple of questions in stackoverflow, I still can't find an
I'm fairly new to DDD world and after reading couple of books about it
After a couple of weeks reading on this forum I thought it was time
After reading this question, I need to clear up some things. IQueryable<Customer> custs =
after reading the cookbook and various Q&A here I am still a bit confused
After reading a couple of tutorials on Steganography using Java/.NET I'm under the impression
after reading through a couple similar Qs/As I haven't quite found the solution I'm
I notice this has caused confusion for several people, but after reading a couple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.