PII_type: EMAIL

Exploration_sql:
Based on the schema of the tables, the following columns may contain possible email addresses:
- Contact table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table: phone
- Friend table:

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 tables in the database, the following tables and columns have the potential to contain US phone numbers:

1. Table: Contact
   - Columns: phone, rawPhone

2. Table: Snap
   - Columns: captionTextDisplay

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

```sql
SELECT phone FROM Contact WHERE phone REGEXP '\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}'
UNION ALL
SELECT rawPhone FROM Contact WHERE rawPhone REGEXP '\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}'
UNION ALL
SELECT captionTextDisplay FROM Snap WHERE captionTextDisplay 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 Contact and Snap tables.


PII_type: USERNAME

Exploration_sql:
Based on the schema of the tables in the database, the following tables and columns have the potential to contain usernames:
1. Table: CombinedUsername
   - Columns: originalUsername, mutableUsername, encodedUsername

2. Table: Friend
   - Columns: username

3. Table: Snap
   - Columns: username

4. Table: StorySnap
   - Columns: username

5. Table: SuggestedFriend
   - Columns: userId

To search for possible usernames in these tables, you can use the following SQL query:
```sql
SELECT originalUsername FROM CombinedUsername WHERE originalUsername REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT mutableUsername FROM CombinedUsername WHERE mutableUsername REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT encodedUsername FROM CombinedUsername WHERE encodedUsername REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT username FROM Friend WHERE username REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT username FROM Snap WHERE username REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT username FROM StorySnap WHERE username REGEXP '\\b[a-zA-Z][a-zA-Z0-9._-]{2,51}\\b'
UNION ALL
SELECT userId FROM SuggestedFriend WHERE userId 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


Exploration_sql:
Based on the schema of the tables in the database, the following tables and columns have text fields where person names might be found:
- Table: Contact
  - Columns: displayName, phone

- Table: Friend
  - Columns: displayName, phone

- Table: PostableStory
  - Columns: userName, displayName

- Table: Snap
  - Columns: username, displayName

To search for possible person names in these tables, you can use the following SQL query:
```sql
SELECT displayName FROM Contact WHERE displayName REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT phone FROM Contact WHERE phone REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT displayName FROM Friend WHERE displayName REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT phone FROM Friend WHERE phone REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT userName FROM PostableStory WHERE userName REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT displayName FROM PostableStory WHERE displayName REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT username FROM Snap WHERE username REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
UNION ALL
SELECT displayName FROM Snap WHERE displayName REGEXP '[A-Za-z][A-Za-z\s\.\-]{1,50}'
```

This query will search for loosely structured human name-like strings in the specified columns of the mentioned 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 tables in the database, the following tables and columns have the potential to contain US postal addresses:
- Table: Contact
  - Columns: displayName, phone

- Table: Feed
  - Columns: score

- Table: Friend
  - Columns: displayName, phone

- Table: Snap
  - Columns: captionTextDisplay

Please note that these are potential columns where US postal addresses might be found based on the schema. To search for US postal addresses, we can query these columns using regular expressions.

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')