def METHOD_NAME(client):
    table_data = {
        'name': 'test_create_table_house_sales',
        'select': 'SELECT * FROM example_db.house_sales',
        'replace': True
    }
    response = client.post('/api/databases/example_db/tables', json=table_data, follow_redirects=True)
    assert '400' in response.status