vw_students
Creates, updates, deletes, gets or lists a vw_students
resource.
Overview
Name | vw_students |
Type | View |
Id | azure_extras.education.vw_students |
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, '$.firstName') as "first_name",
JSON_EXTRACT(properties, '$.lastName') as "last_name",
JSON_EXTRACT(properties, '$.email') as "email",
JSON_EXTRACT(properties, '$.role') as "role",
JSON_EXTRACT(properties, '$.budget') as "budget",
JSON_EXTRACT(properties, '$.subscriptionId') as "subscription_id",
JSON_EXTRACT(properties, '$.expirationDate') as "expiration_date",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.effectiveDate') as "effective_date",
JSON_EXTRACT(properties, '$.subscriptionAlias') as "subscription_alias",
JSON_EXTRACT(properties, '$.subscriptionInviteLastSentDate') as "subscription_invite_last_sent_date",
billingAccountName,
billingProfileName,
invoiceSectionName,
studentAlias
FROM azure_extras.education.students
WHERE billingAccountName = 'replace-me' AND billingProfileName = 'replace-me' AND invoiceSectionName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.firstName') as "first_name",
json_extract_path_text(properties, '$.lastName') as "last_name",
json_extract_path_text(properties, '$.email') as "email",
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, '$.expirationDate') as "expiration_date",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.effectiveDate') as "effective_date",
json_extract_path_text(properties, '$.subscriptionAlias') as "subscription_alias",
json_extract_path_text(properties, '$.subscriptionInviteLastSentDate') as "subscription_invite_last_sent_date",
billingAccountName,
billingProfileName,
invoiceSectionName,
studentAlias
FROM azure_extras.education.students
WHERE billingAccountName = 'replace-me' AND billingProfileName = 'replace-me' AND invoiceSectionName = 'replace-me';