Question: I am building my first react-native app for both android and IOS. In order for my app to function, I need to use RNPickerSelect. But for some reason when I try to do

```
<RNPickerSelect 
              onValueChange={(value) => setOrgin(value)}
              value={orgin}
              useNativeAndroidPickerStyle={false}
              items={countries} placeholder={{label: "Country of Orgin", value: null}} style={pickerSelectStyles}
          />

```

on android I get "Invalid hook call. Hooks can only be called inside of the body of a function component. " How can I solve this issue

Answer: 
```
mysql> show create table mytable;

CREATE TABLE `mytable` (
  `Owner ID` int DEFAULT NULL,
  `Contractor ID` int DEFAULT NULL,
  `Phone Number` varchar(20) DEFAULT NULL
)

mysql> select concat('alter table `', table_schema, '`.`', table_name,
  '` rename column `', column_name, '` to `', replace(column_name, ' ', '_'), '`;') as _sql 
  from information_schema.columns where locate(' ', column_name);

+--------------------------------------------------------------------------------+
| _sql                                                                           |
+--------------------------------------------------------------------------------+
| alter table `test`.`mytable` rename column `Contractor ID` to `Contractor_ID`; |
| alter table `test`.`mytable` rename column `Owner ID` to `Owner_ID`;           |
| alter table `test`.`mytable` rename column `Phone Number` to `Phone_Number`;   |
+--------------------------------------------------------------------------------+

```
By using @Bill Karwin's answer, if you just want to test it in a specific table first, something like this will work:

```
select concat('alter table `mytable` rename column `', column_name, '` to `', replace(lower(column_name), ' ', '_'), '`;') as _sql 
  from (select *
from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME = 'mytable') as mt where locate(' ', column_name);

```