Usage
explore: explore_name {
  join: view_name {
    sql_foreign_key: A SQL clause ;;
  }
}
explore: explore_name {
  join: view_name {
    sql_foreign_key: A SQL clause ;;
  }
}
| Hierarchy sql_foreign_key | Default ValueNone AcceptsA SQL clause Special Rules sql_foreign_key,foreign_key, andsql_onmay not be used at the same time within the samejoin | 
The sql_foreign_key parameter specifies a SQL statement that produces a foreign key.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-09 UTC.