Aggregated Data Table Structure

1. Table Columns

FieldTypeNullKeyDefaultExtra
sparkle_idbigintNOPRIauto_increment
parent_companies-namevarchar(44)YES
parent_companies-qidvarchar(18)YES
companies-child_company_namevarchar(30)YES
companies-qidvarchar(18)YES
companies-idbigintYES
typevarchar(18)YES
item_company_idbigintYES
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(20)YES
item_labelvarchar(76)YES
item_classvarchar(28)YES
item_quantitydoubleYES
item_employee_iddoubleYES
item_employee_namevarchar(16)YES
item_client_iddoubleYES
item_client_namevarchar(40)YES
item_client_emailvarchar(70)YES
item_client_mobile_phonevarchar(28)YES
item_client_home_phonevarchar(28)YES
item_client_work_phonevarchar(28)YES
item_child_iddoubleYES
item_child_labelvarchar(24)YES
item_child_secondary_labelvarchar(58)YES
item_child_is_deceasedvarchar(10)YES
sourcevarchar(16)YES
appt_statustextYES
service_durationtextYES
appt_idtextYES
days_since_last_appointmenttextYES
client_appointment_ranktextYES
item_amountdoubleYES
item_amount_before_discountdoubleYES
discount_amounttextYES
product_cost_amounttextYES
sub_item_iddoubleYES
sub_item_typevarchar(28)YES
sub_item_labelvarchar(28)YES
sub_item_classvarchar(58)YES
category_idtextYES
category_typetextYES
category_labeltextYES
category_classtextYES
in_membershipvarchar(10)YES
in_packagevarchar(10)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_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(16)YES
ticket_raw_statusdoubleYES
ticket_statusvarchar(12)YES
ticket_closed_atdatetimeYES
ticket_closed_at_date_in_tzdatetimeYES
locations-qidvarchar(18)YES
location_nicknamevarchar(30)YES
location_store_idvarchar(14)YES
location_entity_idtextYES
location_street_addressvarchar(48)YES
location_street_address_2varchar(18)YES
location_zip_codebigintYES
location_cityvarchar(30)YES
location_statevarchar(4)YES
location_time_zonedatetimeYES
location_resource_counttextYES
employees-qidvarchar(18)YES
employee_namevarchar(26)YES
ticket_client_iddoubleYES
ticket_client_walk_indoubleYES
ticket_client_namevarchar(38)YES
ticket_client_emailvarchar(70)YES
client_visit_rankdoubleYES
is_membervarchar(10)YES
import_datedateNOMUL
import_timestamptimestampYESMULCURRENT_TIMESTAMPDEFAULT_GENERATED

2. Sample Data (5 rows)

sparkle_idparent_companies-nameparent_companies-qidcompanies-child_company_namecompanies-qidcompanies-idtypeitem_company_idticket_idaction_ataction_at_date_in_tzscheduled_atscheduled_at_date_in_tzcreated_atcreated_at_date_in_tzitem_start_atitem_start_at_date_in_tzadjustment_iditem_iditem_typeitem_labelitem_classitem_quantityitem_employee_iditem_employee_nameitem_client_iditem_client_nameitem_client_emailitem_client_mobile_phoneitem_client_home_phoneitem_client_work_phoneitem_child_iditem_child_labelitem_child_secondary_labelitem_child_is_deceasedsourceappt_statusservice_durationappt_iddays_since_last_appointmentclient_appointment_rankitem_amountitem_amount_before_discountdiscount_amountproduct_cost_amountsub_item_idsub_item_typesub_item_labelsub_item_classcategory_idcategory_typecategory_labelcategory_classin_membershipin_packageusage_amountusage_original_amountgift_cards_prepaid_amountmemberships_prepaid_amountpackages_prepaid_amountgift_cards_prepaid_amount_v2item_return_idrefund_amountitem_edit_idedit_amountedit_amount_before_discountitem_tax_idtax_amountpayment_item_idpayment_idpayment_typepayment_labelpayment_classpayment_amountpayment_amount_collectedpayment_hold_amountpayment_depositpayment_charged_atpayment_statustime_zonelocation_idticket_uuidticket_raw_statusticket_statusticket_closed_atticket_closed_at_date_in_tzlocations-qidlocation_nicknamelocation_store_idlocation_entity_idlocation_street_addresslocation_street_address_2location_zip_codelocation_citylocation_statelocation_time_zonelocation_resource_countemployees-qidemployee_nameticket_client_idticket_client_walk_inticket_client_nameticket_client_emailclient_visit_rankis_memberimport_dateimport_timestamp
17262Sparkle Grooming Corp.qid141656Sparkle - 48002qid143134143134edit143134434436892025-08-11 23:17:302025-08-11 00:00:002025-08-11 22:00:002025-08-11 00:00:002025-08-04 17:03:572025-08-04 00:00:00NULLNULL13273140197781425AppointmentPro-Keratin Leave-in ConditionerSlotVariationNULL300614Mari V.21875621Festina GuriFestinasopa@hotmail.com(623) 500-1164NULLNULL3062690RemiPeekapooFalsein_storecompleted1.065377495.07.025.0NULLNULLNULLNULLNULLNULLNULLNULL263954.0Service CategoryPamper + ProtectDealFalseFalseNULLNULLNULLNULLNULLNULLNULLNULL10606195910.515NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL2026-08-09 18:03:50158462OSOS5NG01closed2025-08-11 23:17:302025-08-11 00:00:00qid158462Scottsdale SheaUS48002NULL10392 N Scottsdale RdSuite 10185254ScottsdaleAZ2026-08-09 18:03:50NULLqid300614Mari V.218756210FestinaGuriFestinasopa@hotmail.com27True2026-08-092026-08-09 11:03:50
33584Sparkle Grooming Corp.qid141656Sparkle - 48002qid143134143134service143134433653612025-08-11 17:55:532025-08-11 00:00:002025-08-11 17:30:002025-08-11 00:00:002025-08-08 18:56:042025-08-08 00:00:00NULLNULL13240501397971814AppointmentPlaque Reduction TreatmentSlotVariation1300465Megan K.23096008Alison Collinsalison@collinsaz.com(602) 743-4675NULLNULL3129200RileyBoston TerrierFalseonlinecompleted0.065502418.035.04.01215NULLNULLNULLNULLNULLNULL263952.0Service CategoryAdd-onsDealFalseFalse0.00.00NULLNULLNULLNULLNULLNULL-12-15NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL2026-08-09 18:03:58158462G38OS4CI1closed2025-08-11 17:55:532025-08-11 00:00:00qid158462Scottsdale SheaUS48002NULL10392 N Scottsdale RdSuite 10185254ScottsdaleAZ2026-08-09 18:03:58NULLqid300465Megan K.230960080AlisonCollinsalison@collinsaz.com4True2026-08-092026-08-09 11:03:59
36578Sparkle Grooming Corp.qid141656Sparkle - 48002qid143134143134service143134434391452025-08-11 21:02:372025-08-11 00:00:002025-08-11 18:30:002025-08-11 00:00:002025-05-11 20:30:412025-05-11 00:00:00NULLNULL13271198493829537AppointmentUnlimitedSlotVariation1300465Megan K.21704080Hamid ShojaeeHamid@shojaee.com(602) 295-5216NULLNULL3008697BiscuitGoldendoodleFalsein_storecompleted60.062659531.00.013.0115115NULLNULLNULLNULLNULLNULL263953.0Service CategoryMembersDealTrueFalse115.00.00NULLNULLNULLNULLNULLNULL-115-115NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL2026-08-09 18:04:00158462ASZVKLH71closed2025-08-11 21:02:372025-08-11 00:00:00qid158462Scottsdale SheaUS48002NULL10392 N Scottsdale RdSuite 10185254ScottsdaleAZ2026-08-09 18:04:00NULLqid300614Mari V.217040800HamidShojaeeHamid@shojaee.com13True2026-08-092026-08-09 11:04:00
38593Sparkle Grooming Corp.qid141656Sparkle - 48002qid143134143134service143134433773422025-08-12 00:00:282025-08-11 00:00:002025-08-11 21:45:002025-08-11 00:00:002025-08-09 01:16:222025-08-08 00:00:00NULLNULL13246302797988414AppointmentUnlimitedSlotVariation1300465Megan K.23102490Quinn Heimannquinnkduane@gmail.com(916) 208-6926(480) 213-6212NULL3130462CashBernedoodleFalseonlinecompleted70.065513105.027.05.0115115NULLNULLNULLNULLNULLNULL263953.0Service CategoryMembersDealTrueFalse115.0115.00NULLNULLNULLNULLNULLNULL-115-115NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL2026-08-09 18:04:01158462POGQ6EPF1closed2025-08-12 00:00:282025-08-11 00:00:00qid158462Scottsdale SheaUS48002NULL10392 N Scottsdale RdSuite 10185254ScottsdaleAZ2026-08-09 18:04:01NULLqid300465Megan K.231024900QuinnHeimannquinnkduane@gmail.com7True2026-08-092026-08-09 11:04:01
97704Sparkle Grooming Corp.qid141656Sparkle - 48002qid143134143134discount143134434436892025-08-11 23:17:302025-08-11 00:00:002025-08-11 22:00:002025-08-11 00:00:002025-08-04 17:03:572025-08-04 00:00:00NULLNULL13273140097781424AppointmentTrue Color Brightening TreatmentSlotVariationNULL300614Mari V.21875621Festina GuriFestinasopa@hotmail.com(623) 500-1164NULLNULL3062690RemiPeekapooFalsein_storecompleted1.065377495.07.025.0NULLNULL-3.0NULL9345096PosAppliedDiscountDiscountNULL263954.0Service CategoryPamper + ProtectDealFalseFalseNULLNULLNULLNULLNULLNULLNULLNULL0NULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULLNULL2026-08-09 18:04:36158462OSOS5NG01closed2025-08-11 23:17:302025-08-11 00:00:00qid158462Scottsdale SheaUS48002NULL10392 N Scottsdale RdSuite 10185254ScottsdaleAZ2026-08-09 18:04:36NULLqid300614Mari V.218756210FestinaGuriFestinasopa@hotmail.com27True2026-08-092026-08-09 11:04:37

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