# How to use parenthesis in SQL?

Parentheses must always be used to enclose subqueries. Parentheses can also be used in a JOIN statement between multiple tables to determine which tables must be joined first. Also, parentheses are used to enclose the list of parameters to be passed to built-in functions, user-defined functions and stored routines.

Bron: [Parentheses | Server | MariaDB Documentation](https://mariadb.com/docs/server/reference/sql-functions/secondary-functions/bit-functions-and-operators/parentheses#:~:text=Parentheses%20must%20always%20be%20used,defined%20functions%20and%20stored%20routines.)

Onderwerp: [Techniek & internet](https://1001vragen.nl/onderwerp/techniek-en-internet)
Toegevoegd: 2026-01-26
Webpagina: https://1001vragen.nl/vraag/how-to-use-parenthesis-in-sql

## What is using () in SQL?

The `USING` keyword is employed when performing joins to indicate a shared column, which helps in creating a natural join condition.

Bron: [MySQL USING Keyword: Usage & Examples - DataCamp](https://www.datacamp.com/doc/mysql/mysql-using#:~:text=The%20%60USING%60%20keyword%20is%20employed,creating%20a%20natural%20join%20condition.)

## How to use round() in SQL?

The syntax for using the ROUND function is as follows: SELECT ROUND(column_name, decimal_places) FROM table_name WHERE condition; column_name : The name of the column containing the numeric value you want to round. decimal_places : The number of decimal places to which you want to round the numeric value.

Bron: [SQL ROUND - Syntax, Use Cases, and Examples - Hightouch](https://hightouch.com/sql-dictionary/sql-round#:~:text=The%20syntax%20for%20using%20the,to%20round%20the%20numeric%20value.)

## What is right() in SQL?

The RIGHT function returns a string that consists of the specified number of rightmost bytes or specified string unit from a string.

Bron: [Db2 SQL - RIGHT or STRRIGHT scalar function](https://www.ibm.com/docs/en/db2-for-zos/12.0.0?topic=functions-right-strright#:~:text=The%20RIGHT%20function%20returns%20a,string%20unit%20from%20a%20string.)

## Verwante vragen

- [How to solve missing right parenthesis in SQL?](https://1001vragen.nl/vraag/how-to-solve-missing-right-parenthesis-in-sql.md)
- [How do I fix ora 00907 missing right parenthesis?](https://1001vragen.nl/vraag/how-do-i-fix-ora-00907-missing-right-parenthesis.md)
- [How to convert character to numeric in SQL?](https://1001vragen.nl/vraag/how-to-convert-character-to-numeric-in-sql.md)
- [Can we use a case statement in PLSQL?](https://1001vragen.nl/vraag/can-we-use-a-case-statement-in-plsql.md)
- [What are the two required clauses for a SELECT statement?](https://1001vragen.nl/vraag/what-are-the-two-required-clauses-for-a-select-statement.md)
- [Is any SQL case sensitive?](https://1001vragen.nl/vraag/is-any-sql-case-sensitive.md)
- [How to convert char to number in PL/SQL?](https://1001vragen.nl/vraag/how-to-convert-char-to-number-in-pl-sql.md)
- [How to use if and case together in SQL?](https://1001vragen.nl/vraag/how-to-use-if-and-case-together-in-sql.md)
- [How to concat first three characters in SQL?](https://1001vragen.nl/vraag/how-to-concat-first-three-characters-in-sql.md)
- [How to CONCATENATE two string variables namely str1 and str2 in Java using another string variable var?](https://1001vragen.nl/vraag/how-to-concatenate-two-string-variables-namely-str1-and-str2-in-java-using-another-string-variable-var.md)
