1. The syntax in your LiveSQL script looks fine. What exactly is the problem you encounter? (You can't create tablespaces in LS, which is why the create table fails).
2. You never
need partitioning. It's a tool which can make the maintenance of your tables easier. And might make queries faster. It does this by effectively splitting one table into smaller sub-tables.
Fully covering the in-and-outs of partitioning is too big a topic for this Q&A. Read the partitioning guide in the docs:
https://docs.oracle.com/en/database/oracle/oracle-database/18/vldbg/partition-intro.html#GUID-D01AB935-0567-42C5-B21E-FB36BA9C7BAD If you have specific questions
after reading this, ask!
And if I don't have partitioning and create tablespace with datafile size 2G with one partition and datafile is full. How can I extend it or process this problem, where I entered data to it? This is
nothing to do with partitioning! Your files can fill up whether you use partitioning or not...
If you've hit the file limit, either enable autoextend and increase the maxsize of the relevant data files:
alter database datafile '...' autoextend on maxsize (unlimited | <size> );
Or add another data file to the tablespace.