vw_student_labs
Creates, updates, deletes, gets or lists a vw_student_labs
resource.
Overview
Name | vw_student_labs |
Type | View |
Id | azure_extras.education.vw_student_labs |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.expirationDate') as "expiration_date",
JSON_EXTRACT(properties, '$.role') as "role",
JSON_EXTRACT(properties, '$.budget') as "budget",
JSON_EXTRACT(properties, '$.subscriptionId') as "subscription_id",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.effectiveDate') as "effective_date",
JSON_EXTRACT(properties, '$.labScope') as "lab_scope",
studentLabName
FROM azure_extras.education.student_labs
WHERE studentLabName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.displayName') as "display_name",
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.expirationDate') as "expiration_date",
json_extract_path_text(properties, '$.role') as "role",
json_extract_path_text(properties, '$.budget') as "budget",
json_extract_path_text(properties, '$.subscriptionId') as "subscription_id",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.effectiveDate') as "effective_date",
json_extract_path_text(properties, '$.labScope') as "lab_scope",
studentLabName
FROM azure_extras.education.student_labs
WHERE studentLabName = 'replace-me';