PII_type: EMAIL

Exploration_sql:
The columns in the tables are as follows:
1. ZWAADDRESSBOOKCONTACT:
   - Z_PK, Z_ENT, Z_OPT, ZDISAPPEARINGMODEDURATION, ZPHONESTATUS, ZSECTIONSORT, ZSORT, ZSPOTLIGHTSTATUS, ZABOUTTIMESTAMP, ZDISAPPEARINGMODETIMESTAMP, ZABOUTTEXT, ZFULLNAME, ZGIVENNAME, ZHIGHLIGHTEDNAME, ZIDENTIFIER, ZLOCALIZEDPHONENUMBER, ZPHONENUMBER, ZPHONENUMBERLABEL, ZSEARCHTOKENLIST, ZSECTIONTITLE, ZWHATSAPPID, ZDEVICELIST, ZLASTNAME, ZLID, ZUNIQUEID, ZNOTES, ZABOUTEMOJI, ZUSERNAME, ZABOUTEXPIRATIONTIMESTAMP, ZSYNCPOLICY, ZLASTUPDATED, ZSOURCE, ZBUSINESSNAME, ZSYNCWITHSERVERSTATE, ZPNHASH, ZLIDHASH

2. Z_METADATA:
   - Z_VERSION, Z_UUID, Z_PLIST

3. Z_MODELCACHE:
   - Z_CONTENT

4. Z_PRIMARYKEY:
   - Z_ENT, Z_NAME, Z_SUPER, Z_MAX

I will now search for possible email addresses in these columns.
SELECT ZIDENTIFIER FROM ZWAADDRESSBOOKCONTACT WHERE ZIDENTIFIER REGEXP '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}' UNION ALL
SELECT Z_UUID FROM Z_METADATA WHERE Z_UUID REGEXP '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}' UNION ALL
SELECT Z_CONTENT FROM Z_MODELCACHE WHERE Z_CONTENT REGEXP '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'

PII_Prompt: a unique identifier for a destination to which electronic mail (email) can be sent and received over the internet; examples include jane.doe@example.com, john.smith@provider.net, dev-team@startup.io, and user.name+label@domain.org


PII_type: PHONE

Exploration_sql:
Based on the schema of the available tables, the potential columns that may contain US phone numbers are:
- ZLOCALIZEDPHONENUMBER in ZWAADDRESSBOOKCONTACT table
- ZPHONENUMBER in ZWAADDRESSBOOKCONTACT table

To search for US phone numbers in these columns, you can use the following SQL query:

```sql
SELECT ZLOCALIZEDPHONENUMBER FROM ZWAADDRESSBOOKCONTACT WHERE ZLOCALIZEDPHONENUMBER REGEXP '\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}'
UNION ALL
SELECT ZPHONENUMBER FROM ZWAADDRESSBOOKCONTACT WHERE ZPHONENUMBER REGEXP '\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}'
```

This query will search for US phone numbers in the specified columns of the ZWAADDRESSBOOKCONTACT table.


PII_type: USERNAME

Exploration_sql:
Based on the schema of the tables in the database, the column "ZUSERNAME" in the table "ZWAADDRESSBOOKCONTACT" seems to be a potential candidate for containing usernames.

To search for possible usernames, you can use the following SQL query:
```sql
SELECT ZUSERNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZUSERNAME REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'

PII_Prompt: a username is a short textual identifier chosen by a user to represent their account or public handle within an application or service it is stored as plain text contains no whitespace does not include a domain component and is intended for human recognition rather than internal system uniqueness


PII: Otto Ronen Kathy Daniel Alex Zachary Amy Paul Amanda Diane Joel Wendy Sydney Lisa Robert Taylor Joshua Andrea Nicole Jill Cassandra Heather Scott Donna Jason Julie Mark David Meghan Blake Natalie Marilyn Jacob Randall Eric William Catherine Charles Anita Jeremy Katherine Sarah Courtney Eugene Tony Marcus Ed Felicia Tiffany Jennifer Tyler Melissa Alan Jeanette Kaitlyn Sue Patricia Bryan Tammy Chase Madison Leon Wanda Micheal Carol Shawn Jessica Melvin Deanna Lindsey Mary Beth Frank Christina Alexandria Martha Brian Cristina John Kylie Joanna Elizabeth Angela James Megan Jonathan Desiree Teresa Richard Danny Kimberly Breanna Joseph Laura Benjamin Anthony Thomas Aaron Deborah Linda Ann Sandra Curtis Kristen Randy Karen Alexa Corey Erin Clayton Jenna Jamie Shelby Michele Katie Marco Kathleen Andre Rebecca Melissa Cynthia Leslie Michelle Brenda Diane Stacey Gabriel Cheryl Matthew Kevin Carmen Emily Tristan Bryan Christopher Jermaine Tiffany Nicholas Michael Willie Rachel Pamela Jay Crystal Dustin Bethany Collin Hailey Susan Kathleen Maria Charles Zachary Ryan Connor Amber Timothy Chad Alyssa Jodi Robin Toni Rachael Krista Brandon Priscilla Nancy Christy Austin Alexander Heather Johnny Erik Jared Nathan Dana Katrina Lynn Stacy Pamela Taylor Shannon Melinda Andrew Kristi Sara Roy Pedro Edwin Yvette Samantha Jimmy Kim Caitlin Judith Tony Fred Timothy Heather Lauren Erika Keith Adrienne Kristin Wesley Ian Philip Connor Kathy Benjamin Joe Robert Marvin Carl Julie Judith Nancy Donald Tony Fred Sara Timothy Christina Alexis Heather Anthony Laura Erika Dana Nathan Kevin Brent Madeline Stacy Roy Tiffany Dawn Sharon Megan Susan Chad Melissa Jason Andrew Kristie Stacey Elaine Wayne Peggy Christopher Teresa Austin Jessica Bryan Mark Amanda Juan Pamela Monique Frank Rick Ronen Russell Sharon Tracy Hank Abe

Exploration_sql:
Based on the schema of the available tables, the potential columns that may contain person names are as follows:
- ZWAADDRESSBOOKCONTACT table: ZFULLNAME, ZGIVENNAME, ZHIGHLIGHTEDNAME, ZLASTNAME, ZBUSINESSNAME
- Z_METADATA table: Z_UUID
- Z_MODELCACHE table: No relevant columns found
- Z_PRIMARYKEY table: No relevant columns found

To search for person names in the database, you can use the following SQL query:
```sql
SELECT ZFULLNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZFULLNAME REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT ZGIVENNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZGIVENNAME REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT ZHIGHLIGHTEDNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZHIGHLIGHTEDNAME REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT ZLASTNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZLASTNAME REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT ZBUSINESSNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZBUSINESSNAME REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT Z_UUID FROM Z_METADATA WHERE Z_UUID REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
```

This query will search for person names in the specified columns of the ZWAADDRESSBOOKCONTACT and Z_METADATA tables.

PII_Prompt: a loosely structured human name-like strings that typically consist of a first name, a first name and a last name, and may also include middle names, initials, prefixes (e.g., Mr., Dr.), and suffixes (e.g., Jr., Sr.)


Exploration_sql:
Based on the schema of the available tables, the potential table that may contain US postal addresses is "ZWAADDRESSBOOKCONTACT." Here are the columns in the "ZWAADDRESSBOOKCONTACT" table that could potentially contain US postal addresses:
- ZFULLNAME
- ZGIVENNAME
- ZHIGHLIGHTEDNAME
- ZIDENTIFIER
- ZLOCALIZEDPHONENUMBER
- ZPHONENUMBER
- ZPHONENUMBERLABEL
- ZNOTES
- ZBUSINESSNAME
- ZUSERNAME

To search for US postal addresses in these columns, we can use the following SQL query:
```sql
SELECT ZFULLNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZFULLNAME REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|ter\\.?|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZGIVENNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZGIVENNAME REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZHIGHLIGHTEDNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZHIGHLIGHTEDNAME REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZIDENTIFIER FROM ZWAADDRESSBOOKCONTACT WHERE ZIDENTIFIER REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZLOCALIZEDPHONENUMBER FROM ZWAADDRESSBOOKCONTACT WHERE ZLOCALIZEDPHONENUMBER REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZPHONENUMBER FROM ZWAADDRESSBOOKCONTACT WHERE ZPHONENUMBER REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZPHONENUMBERLABEL FROM ZWAADDRESSBOOKCONTACT WHERE ZPHONENUMBERLABEL REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZNOTES FROM ZWAADDRESSBOOKCONTACT WHERE ZNOTES REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZBUSINESSNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZBUSINESSNAME REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
UNION ALL
SELECT ZUSERNAME FROM ZWAADDRESSBOOKCONTACT WHERE ZUSERNAME REGEXP '(?i)\\b(?:p\\.?\\s*o\\.?\\s*box|post\\s+office\\s+box|ave\\.?|avenue|st\\.?|street|rd\\.?|road|blvd\\.?|boulevard|dr\\.?|drive|ln\\.?|lane|ct\\.?|court|pl\\.?|place|way|pkwy\\.?|parkway|cir\\.?|circle|terrace|hwy\\.?|highway|trl\\.?|trail|sq\\.?|square|pike|loop|run|walk|path|byp\\.?|bypass|(?:n|s|e|w|ne|nw|se|sw)\\b)\\b'
```

This query will search for US postal addresses in the specified columns of the "ZWAADDRESSBOOKCONTACT" table.

PII_Prompt: a US postal address is a street-level mailing location in the United States, commonly appearing as a street name and suffix (e.g., 'Market St') optionally with a street number (e.g., '1500 Market St'), unit, city/state, ZIP, or a PO Box (e.g., 'P.O. Box 123')