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_idtextYES
action_attextYES
action_at_date_in_tztextYES
scheduled_attextYES
scheduled_at_date_in_tztextYES
created_atdatetimeYES
created_at_date_in_tzdatetimeYES
item_start_atdatetimeYES
item_start_at_date_in_tzdatetimeYES
adjustment_idtextYES
item_idtextYES
item_typevarchar(64)YES
item_labeltextYES
item_classtextYES
item_quantitydoubleYES
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_idtextYES
item_child_labeltextYES
item_child_secondary_labeltextYES
item_child_is_deceasedtextYES
sourcetextYES
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_idtextYES
sub_item_typevarchar(64)YES
sub_item_labeltextYES
sub_item_classtextYES
category_idtextYES
category_typetextYES
category_labeltextYES
category_classtextYES
in_membershipvarchar(64)YES
in_packagevarchar(64)YES
usage_amounttextYES
usage_original_amounttextYES
gift_cards_prepaid_amountdoubleYES
memberships_prepaid_amounttextYES
packages_prepaid_amounttextYES
gift_cards_prepaid_amount_v2textYES
item_return_idtextYES
refund_amounttextYES
item_edit_idtextYES
edit_amounttextYES
edit_amount_before_discounttextYES
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_uuidtextYES
ticket_raw_statustextYES
ticket_statustextYES
ticket_closed_attextYES
ticket_closed_at_date_in_tztextYES
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_idtextYES
ticket_client_walk_intextYES
ticket_client_nametextYES
ticket_client_emailtextYES
client_visit_ranktextYES
is_membertextYES
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