databricks use variable in sql. There are any references about databricks use variable in sql in here. you can look below.