Top "Syntax" questions

Syntax refers to the actual language elements and symbols themselves.

What is the purpose of "&&" in a shell command?

As far as I know, using & after the command is for running it in the background. Example of & …

bash shell command-line syntax
What is the equivalent of "!=" in Excel VBA?

The problem is that != does not work as a function in excel vba. I want to be able to use …

excel vba function syntax inequality
Is there a goto statement in Java?

I'm confused about this. Most of us have been told that there isn't any goto statement in Java. But I …

java syntax keyword goto
Is it possible to insert multiple rows at a time in an SQLite database?

In MySQL you can insert multiple rows like this: INSERT INTO 'tablename' ('column1', 'column2') VALUES ('data1', 'data2…

sql sqlite syntax
What is the difference between single-quoted and double-quoted strings in PHP?

I'm a little confused why I see some code in PHP with string placed in single quotes and sometimes in …

php string syntax
"elseif" syntax in JavaScript

How can I achieve an elseif in a JavaScript condition?

javascript if-statement syntax
How to do an update + join in PostgreSQL?

Basically, I want to do this: update vehicles_vehicle v join shipments_shipment s on v.shipment_id=s.id …

postgresql syntax
How to use double or single brackets, parentheses, curly braces

I am confused by the usage of brackets, parentheses, curly braces in Bash, as well as the difference between their …

bash syntax
Update Query with INNER JOIN between tables in 2 different databases on 1 server

Need some SQL syntax help :-) Both databases are on the same server db1 = DHE db2 = DHE_Import UPDATE DHE.…

sql-server database syntax inner-join
`from ... import` vs `import .`

I'm wondering if there's any difference between the code fragment from urllib import request and the fragment import urllib.request …

python import syntax module python-import