
Josh R. answered 10/06/19
Analytics Manager that Spends All Day in SQL
Single quotes are used to wrap around strings so that they are identified accordingly. Double quotes, depending on the database, often are interpreted as database component identifies. For example, if you want to select all rows from table 'DATA_SOURCE' where column A equals the phrase 'This is a string', you would write statement 1 below. If your column name had a space in it (e.g. "My Column", you would use double quotes to identify the whole name.