Aggregated Data Table Structure

1. Table Columns

FieldTypeNullKeyDefaultExtra
sparkle_idbigintNOPRIauto_increment
parent_companies-namevarchar(64)YES
parent_companies-qidvarchar(64)YES
companies-child_company_namevarchar(64)YES
companies-qidvarchar(64)YES
companies-idbigintYES
typevarchar(64)YES
item_company_iddoubleYES
ticket_iddoubleYES
action_atdatetimeYES
action_at_date_in_tzdatetimeYES
scheduled_attextYES
scheduled_at_date_in_tztextYES
created_atdatetimeYES
created_at_date_in_tzdatetimeYES
item_start_atdatetimeYES
item_start_at_date_in_tzdatetimeYES
adjustment_iddoubleYES
item_iddoubleYES
item_typevarchar(64)YES
item_labelvarchar(144)YES
item_classvarchar(64)YES
item_quantitytextYES
item_employee_idtextYES
item_employee_nametextYES
item_client_iddoubleYES
item_client_namevarchar(102)YES
item_client_emailvarchar(90)YES
item_client_mobile_phonevarchar(64)YES
item_client_home_phonevarchar(64)YES
item_client_work_phonevarchar(64)YES
item_child_iddoubleYES
item_child_labelvarchar(138)YES
item_child_secondary_labelvarchar(68)YES
item_child_is_deceasedvarchar(64)YES
sourcevarchar(64)YES
appt_statustextYES
service_durationtextYES
appt_idtextYES
days_since_last_appointmenttextYES
client_appointment_ranktextYES
item_amounttextYES
item_amount_before_discounttextYES
discount_amounttextYES
product_cost_amounttextYES
sub_item_iddoubleYES
sub_item_typevarchar(64)YES
sub_item_labelvarchar(74)YES
sub_item_classvarchar(64)YES
category_idtextYES
category_typetextYES
category_labeltextYES
category_classtextYES
in_membershipvarchar(64)YES
in_packagevarchar(64)YES
usage_amounttextYES
usage_original_amounttextYES
gift_cards_prepaid_amounttextYES
memberships_prepaid_amounttextYES
packages_prepaid_amounttextYES
gift_cards_prepaid_amount_v2textYES
item_return_idtextYES
refund_amounttextYES
item_edit_iddoubleYES
edit_amountdoubleYES
edit_amount_before_discountdoubleYES
item_tax_idtextYES
tax_amounttextYES
payment_item_idtextYES
payment_idtextYES
payment_typetextYES
payment_labeltextYES
payment_classtextYES
payment_amounttextYES
payment_amount_collectedtextYES
payment_hold_amounttextYES
payment_deposittextYES
payment_charged_attextYES
payment_statustextYES
time_zonedatetimeYES
location_iddoubleYES
ticket_uuidvarchar(64)YES
ticket_raw_statusdoubleYES
ticket_statusvarchar(64)YES
ticket_closed_atdatetimeYES
ticket_closed_at_date_in_tzdatetimeYES
locations-qidvarchar(64)YES
location_nicknamevarchar(64)YES
location_store_idvarchar(64)YES
location_entity_idtextYES
location_street_addressvarchar(64)YES
location_street_address_2varchar(64)YES
location_zip_codebigintYES
location_cityvarchar(64)YES
location_statevarchar(64)YES
location_time_zonedatetimeYES
location_resource_counttextYES
employees-qidtextYES
employee_namevarchar(64)YES
ticket_client_iddoubleYES
ticket_client_walk_indoubleYES
ticket_client_namevarchar(100)YES
ticket_client_emailvarchar(90)YES
client_visit_rankdoubleYES
is_membervarchar(64)YES
owner_company_iddoubleYES
import_datedateNOMUL
import_timestamptimestampYESMULCURRENT_TIMESTAMPDEFAULT_GENERATED

2. Sample Data (5 rows)

No data found for that query.

3. Key Field Values

Unique values in 'appt_status':

Unique values in 'payment_type':

Unique values in 'item_child_label':

Unique values in 'client_membership_status':


Fatal error: Uncaught mysqli_sql_exception: Unknown column 'client_membership_status' in 'field list' in /home2/dataforsparkle/public_html/reports/explore-aggregated-table.php:70 Stack trace: #0 /home2/dataforsparkle/public_html/reports/explore-aggregated-table.php(70): mysqli_query(Object(mysqli), 'SELECT DISTINCT...') #1 {main} thrown in /home2/dataforsparkle/public_html/reports/explore-aggregated-table.php on line 70