Meaning of zhǐ yǒu:
只有
only have ...; there is only ...; (used in combination with 才[cai2]) it is only if one ... (that one can ...) (Example: 只有通過治療才能痊愈|只有通过治疗才能痊愈[zhi3 you3 tong1 guo4 zhi4 liao2 cai2 neng2 quan2 yu4] "the only way to cure it is with therapy"); it is only ... (who ...) (Example: 只有男性才有此需要[zhi3 you3 nan2 xing4 cai2 you3 ci3 xu1 yao4] "only men would have such a requirement"); (used to indicate that one has no alternative) one can only (do a certain thing) (Example: 只有屈服[zhi3 you3 qu1 fu2] "the only thing you can do is give in")
Zhè lǐ de huāyuán lǐ zhǐyǒu yī zhǒng huā.
这里的花园里只有一种花。
There is only one kind of flower in this garden.
Zài zhège cūnzi lǐ, zhǐyǒu yī suǒ xiǎoxué.
在这个村子里,只有一所小学。
In this village, there is only one primary school.
Zhǐyǒu tōngguò nǔlì cái néng shíxiàn mèngxiǎng.
只有通过努力才能实现梦想。
Only through hard work can dreams be achieved.
Zhǐ yǒu zǎo qǐ de rén cái néng kàn dào rì chū.
只有早起的人才能看到日出。
Only those who wake up early can see the sunrise.
Wài miàn xià dà yǔ, wǒ men zhǐ yǒu dāi zài jiā lǐ.
外面下大雨,我们只有呆在家里。
It's raining heavily outside, and we have no choice but to stay at home.