---
title: Upload custom databases and tables
description: Using and managing custom files and databases in SQL
---

[Skip to content](https://help.coderbyte.com/knowledge/uploading-custom-sql-tables#main-content)

[Contact support](https://help.coderbyte.com/knowledge/kb-tickets/new?hsLang=en) [Customer portal](https://help.coderbyte.com/tickets-view?hsLang=en)

[![coderbyte\_logo\_digital\_white](https://help.coderbyte.com/hs-fs/hubfs/coderbyte_logo_digital_white.png?width=128&height=34&name=coderbyte_logo_digital_white.png)](https://coderbyte.com)

Open main navigation

Close main navigation

- [Contact support](https://help.coderbyte.com/knowledge/kb-tickets/new)
- [Customer portal](https://help.coderbyte.com/tickets-view)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.coderbyte.com/knowledge?hsLang=en)
2. [Custom Library](https://help.coderbyte.com/knowledge/custom-library?hsLang=en)
3. [Files](https://help.coderbyte.com/knowledge/custom-library?hsLang=en#files)

# Upload custom databases and tables

## Using and managing custom files and databases in SQL

If you want to use a custom JSON, CSV, SQL table, or any other file across your [custom challenges](https://help.coderbyte.com/knowledge/create-custom-sql-challenges?hsLang=en) or [interview questions](https://help.coderbyte.com/knowledge/creating-interview-templates?hsLang=en), you'll first need to upload a custom file. 

### Upload a file

Navigate to **Custom library** and then **Files.**

![files](https://help.coderbyte.com/hs-fs/hubfs/files.png?width=670&height=304&name=files.png)

Click **Upload File** and select the corresponding file type or **Other.**

![](https://help.coderbyte.com/hs-fs/hubfs/CleanShot%202025-07-31%20at%2016-55-01@2x-png.png?width=670&height=251&name=CleanShot%202025-07-31%20at%2016-55-01@2x-png.png)

All files have a file limit of 10 MB and will be prefixed with your organization's name.

### Add a file to your challenge or interview question

#### Example MySQL file

[Here is an example file](https://coderbyteprojectattachments.s3.amazonaws.com/test_table.sql) for the format we accept for custom MySQL tables.

#### Example MSSQL file

[Here is an example file](https://coderbyteprojectattachments.s3.amazonaws.com/coderbyteengineering_Users_mssql.sql) for the format we accept for custom Microsoft SQL tables.

#### Example PostgreSQL file

[Here is an example file](https://coderbyteprojectattachments.s3.amazonaws.com/pg_sample.sql) for the format we accept for custom PostgreSQL tables.

#### Uploading custom files

Aside from .sql files, we also allow you to upload arbitrary files that can later be used in your custom challenges or live interviews. Simply copy the custom file URL and paste it into the instructions or IDE, then your candidates can download the data stored in that file.

 

### Executing on the table in an interview

During the interview, you'll be able to use any custom SQL tables you uploaded.

![Screen Shot 2021-05-28 at 4.56.18 PM](https://help.coderbyte.com/hs-fs/hubfs/Screen%20Shot%202021-05-28%20at%204.56.18%20PM.png?width=670&name=Screen%20Shot%202021-05-28%20at%204.56.18%20PM.png)

 

### Looking to upload other files?

Learn more [here](https://help.coderbyte.com/knowledge/uploading-custom-files?hsLang=en) on how to upload and use custom .mp3, .mp4, .mov, or any other file in your [custom challenges](https://help.coderbyte.com/knowledge/create-custom-sql-challenges?hsLang=en) or [interview questions](https://help.coderbyte.com/knowledge/creating-interview-templates?hsLang=en). 

- [Getting started](https://help.coderbyte.com/knowledge/getting-started?hsLang=en#main-content)

    - [Learn More](https://help.coderbyte.com/knowledge/getting-started?hsLang=en#learn-more)
    - [Switching to Coderbyte](https://help.coderbyte.com/knowledge/getting-started?hsLang=en#switching-to-coderbyte)
    - [Guides](https://help.coderbyte.com/knowledge/getting-started?hsLang=en#guides)
- [Screening](https://help.coderbyte.com/knowledge/screening?hsLang=en)
- [Assessments](https://help.coderbyte.com/knowledge/assessments?hsLang=en#main-content)

    - [Overview](https://help.coderbyte.com/knowledge/assessments?hsLang=en#overview)
    - [Code editor](https://help.coderbyte.com/knowledge/assessments?hsLang=en#code-editor)
    - [Reports and analytics](https://help.coderbyte.com/knowledge/assessments?hsLang=en#reports-and-analytics)
    - [Candidate Experience](https://help.coderbyte.com/knowledge/assessments?hsLang=en#candidate-experience)
    - [Settings and options](https://help.coderbyte.com/knowledge/assessments?hsLang=en#settings-and-options)
- [Interviews](https://help.coderbyte.com/knowledge/interviews?hsLang=en#main-content)

    - [Settings and options](https://help.coderbyte.com/knowledge/interviews?hsLang=en#settings-and-options)
    - [Code editor](https://help.coderbyte.com/knowledge/interviews?hsLang=en#code-editor)
    - [Reports and analytics](https://help.coderbyte.com/knowledge/interviews?hsLang=en#reports-and-analytics)
- [Custom Library](https://help.coderbyte.com/knowledge/custom-library?hsLang=en#main-content)

    - [Challenges & Projects](https://help.coderbyte.com/knowledge/custom-library?hsLang=en#challenges-projects)
    - [Files](https://help.coderbyte.com/knowledge/custom-library?hsLang=en#files)
- [Account Management](https://help.coderbyte.com/knowledge/account-management?hsLang=en#main-content)

    - [Users & Workspaces](https://help.coderbyte.com/knowledge/account-management?hsLang=en#users-workspaces)
    - [Plan & Billing](https://help.coderbyte.com/knowledge/account-management?hsLang=en#plan-billing)
- [API & Integrations](https://help.coderbyte.com/knowledge/api-integrations?hsLang=en#main-content)

    - [Integration types](https://help.coderbyte.com/knowledge/api-integrations?hsLang=en#integration-types)
    - [Integration tutorials](https://help.coderbyte.com/knowledge/api-integrations?hsLang=en#integration-tutorials)

[![coderbyte\_logo\_digital\_navy (1)](https://help.coderbyte.com/hs-fs/hubfs/coderbyte_logo_digital_navy%20(1).png?width=128&height=34&name=coderbyte_logo_digital_navy%20(1).png "coderbyte_logo_digital_navy (1)")](https://coderbyte.com)

Coderbyte Help Center

Copyright © 2025, Coderbyte