[SPARK-40994][DOCS][SQL] Add code example in JDBC data source with partitionColumn
[SPARK-40994][DOCS][SQL] Add code example in JDBC data source with partitionColumn

### What changes were proposed in this pull request?

[For setting `partitionColumn, lowerBound, upperBound` in JDBC data source](https://spark.apache.org/docs/latest/sql-data-sources-jdbc.html), it'd better to have a code example to guide users for how to use it. Other sections are having code examples, so we'd better add it for these options as well.

The added example is from our own error message - https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JDBCOptions.scala#L141-L148 .
### Why are the changes needed?

Better user documentation.

### Does this PR introduce _any_ user-facing change?

Yes, the documentation itself.

### How was this patch tested?

Verified the documentation rendered as expected.

<img width="1195" alt="Screen Shot 2022-11-02 at 2 11 27 AM" src="https://user-images.githubusercontent.com/4629931/199451458-a6df1f53-810b-4a41-9a1a-516608b12d1a.png">

Closes #38480 from c21/jdbc.

Authored-by: Cheng Su <b57ee1c5327caba48d0038961023ce4e3a03d0b9@gmail.com>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

wangyum/spark,hvanhovell/spark,dongjoon-hyun/spark,vinodkc/spark,wangyum/spark,ueshin/apache-spark,mahak/spark,apache/spark,mahak/spark,zzcclp/spark,vinodkc/spark,zzcclp/spark,vinodkc/spark,wangyum/spark,srowen/spark,zzcclp/spark,vinodkc/spark,mahak/spark,mahak/spark,apache/spark,ueshin/apache-spark,HyukjinKwon/spark,ueshin/apache-spark,wangyum/spark,srowen/spark,mahak/spark,vinodkc/spark,wangyum/spark,HyukjinKwon/spark,zzcclp/spark,ueshin/apache-spark,hvanhovell/spark,dongjoon-hyun/spark,ueshin/apache-spark,HyukjinKwon/spark,vinodkc/spark,srowen/spark,apache/spark,apache/spark,ueshin/apache-spark,hvanhovell/spark,HyukjinKwon/spark,zzcclp/spark,srowen/spark,wangyum/spark,dongjoon-hyun/spark,mahak/spark,hvanhovell/spark,HyukjinKwon/spark,apache/spark,dongjoon-hyun/spark,apache/spark,wangyum/spark,apache/spark,HyukjinKwon/spark,zzcclp/spark,srowen/spark,dongjoon-hyun/spark,ueshin/apache-spark,HyukjinKwon/spark,zzcclp/spark,dongjoon-hyun/spark,dongjoon-hyun/spark,srowen/spark,hvanhovell/spark,srowen/spark,hvanhovell/spark,vinodkc/spark,hvanhovell/spark,mahak/spark