docs/versioned_docs/version-2.62.0/marketplace/plugins/amazon-redshift.md
ToolJet can connect to Amazon Redshift, enabling your applications to query data directly from a Redshift cluster.
<div style={{textAlign: 'center'}}> </div>NOTE: Before following this guide, it is assumed that you have already completed the process of Using Marketplace plugins.
<div style={{paddingTop:'24px', paddingBottom:'24px'}}>To connect to Amazon Redshift, you need to provide the following details:
us-east-1.5439.Redshift supports a comprehensive set of SQL commands. You can use the SQL editor to run any SQL query on the connected Redshift cluster. Refer to the Redshift documentation for more information on the supported SQL commands.
</div> <div style={{paddingTop:'24px', paddingBottom:'24px'}}>The following example demonstrates how to read data from a table in the connected Redshift cluster. The query selects all the columns from the employee table.
SELECT * FROM employee
The following example demonstrates how to write data to a table in the connected Redshift cluster. The query inserts a new row into the employee table.
INSERT INTO employee (
first_name,
last_name,
email,
phone_number,
hire_date,
job_title,
salary,
department_id
) VALUES (
'Tom',
'Hudson',
'[email protected]',
'234843294323',
'2024-01-01',
'Test Automation Engineer',
245000.00,
12
);
The following example demonstrates how to update data in a table in the connected Redshift cluster. The query updates the first_name and last_name columns of the employee table.
UPDATE employee
SET first_name = 'Glenn',
last_name = 'Jacobs'
WHERE employee_id = 8;
The following example demonstrates how to delete data from a table in the connected Redshift cluster. The query deletes a row from the employee table.
DELETE FROM employee
WHERE employee_id = 7;